Checksum: 21705
Path: utzoo!utgpu!tj
From: tj@gpu.utcs.toronto.edu (Terry Jones)
Date: Sat, 9-Jan-88 09:19:15 EST
Message-ID: <1988Jan9.091915.15615@gpu.utcs.toronto.edu>
Organization: University of Toronto Computing Services
Newsgroups: comp.lang.postscript
Subject: Re: Postscript ideas...
References: <112@zorin.UUCP>
Reply-To: tj@gpu.utcs.UUCP (Terry Jones)
Distribution: na
Keywords: PS

Sorry to put a damper on your day.

There is an error handler available from Adobe that does exactly what you want
and they will send it to you on flat would be the most up to date form of it.
Now I could send you a version of it, but I know not whether it has changed
recently.

Now for the bad news. The PostScript code you posted has a minor problem.
It may not stop it from working on some sites, it may on others.

The first line of you code starts with %!PS-Adobe-1.0
This is a comment reserved for fully conforming PostScript
code and I don't think the code you produce is fully conforming.

If it is just straight PostScript code, start it with %!, if it
conforms then use the %!PS-Adobe-1.0 comment.

It makes a difference when the code is sent via a spooler that cans
rder of the postscript code so the output comes out collated properly.

Lots of people make this mistake, take for example Xerox with Ventura
publisher!!! Their conforming postscript is real close but no cigar...
It fails to come out when it gets reversed. The comments are wrong so it 
doesn't conform so the reversing filter messes up.

It is just as bad NOT to start a postscript file with %! because the same
spooling software assumes it ISN'T postscript then...

Have a nice day.
tj

