Article View: comp.lang.postscript
Article #6864Re: Richard and his many up print program
From: Terry Jones
Date: Mon, 08 Feb 1988 19:11
Date: Mon, 08 Feb 1988 19:11
27 lines
1728 bytes
1728 bytes
Not to be too much of a downer on this one, but I was delighted to see this
come across the net and quickly ported it to MS DOS to print text files
on a PC to a PS printer. I used Turbo C.
No problems compiling. Some in execution.
First was file names. He adds .ps to the name and this results in some
bad msdos names like fred.dat.ps!!! so I made it CHANGE the extension
to .ps.
The comments at the beginning indicate that it is conforming PostScript
and is thus reversible and it seems to fail when reversed by Adobe
transcript here. I didn't look to see where it fails this, I just
changed the first comment to NOT say PS-Adobe-1.0. Also the
first comment started with %% which our spooler doesn't recognize since it
wants %! to tell it that it is PostScript! (I was testing output on Unix
so from the true PC environment these aren't a problem but others will
run into this and I want it the same in all my environments!)
One major problem was the handling of special PostScript characters
%/\[]{}<>()
The author only chose to handle the () characters so I added the others.
Options are handled in a strange fashion in my opinion. Options
must be placed after the filename?
Just thought I would pass on my findings.
tj
Technical Details
Message-ID:
<1988Feb8.141136.13499@gpu.utcs.toronto.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!tjReferences:
<952@its63b.ed.ac.uk>Show Full Headers
Complete Article Headers
Checksum: 55043 Path: arc1-ca.pugleaf.net!utzoo!utgpu!tj From: tj@gpu.utcs.toronto.edu (Terry Jones) Date: Mon, 8-Feb-88 14:11:36 EST Message-ID: <1988Feb8.141136.13499@gpu.utcs.toronto.edu> Organization: University of Toronto Computing Services Newsgroups: comp.lang.postscript Subject: Re: Richard and his many up print program Summary: Some problems. References: <952@its63b.ed.ac.uk> Reply-To: tj@gpu.utcs.UUCP (Terry Jones) Distribution: na Keywords: Multi-column output