[comp.lang.postscript] PostScript/CAP/Transcript problems

rokicki@polya.Stanford.EDU (Tomas G. Rokicki) (10/06/89)

Examine this simple file.

%!PS-Adobe-2.0 EPSF-2.0
%%Creator: Tom Rokicki for Tom Rokicki
%%Title: hosed
%%Pages: 1 1
%%BoundingBox: 0 0 612 792
%%EndComments
/TeXDict 20 dict def TeXDict begin
/foo { 2 2 scale } def
/bar { 0 0 moveto 306 396 rlineto stroke } def end
%%EndProlog
%%BeginSetup
 TeXDict begin foo
%%EndSetup
%%Page: 1 1
bar showpage
%%Trailer
 end
%%EOF

As far as I can tell, reading the Document Structuring conventions, this
is a perfectly legal file.  It prints fine on my QMS PS-810.  It prints
and previews perfectly on the NeXT machine.

But some versions of CAP and Transcript apparently botch the file
somehow, giving `bar undefined' . . . apparently they are omitting the
Setup section or something.  (I can't duplicate the problem, since I don't
have the appropriate software, but I've gotten *several* such reports.
Most were printing to LaserWriter II's, which I don't have access to.)

Is there something wrong with my understanding of the structuring
conventions?  Or is there a bug in the various spooling software?

I ask because at the moment, in order to get dvips output to print at
several sites, the structured comments must be turned off.  The problem
is the same as for the above file.  If this is a bug in the spooling
software or the LaserWriter II's, I'd like to know about it so I can
warn people.  And possibly get the software fixed.

Thanks for comments from anyone!

-tom