giovin@ecs.umass.edu (02/28/91)
For those of you having problems printing GS Postscript files
on VAX machines, I am reposting my solution. Please note that I DO NOT
remove the binary stuff at the beginning of the file and have had
no problems printing.
Rocky
=========================================================================
Here it is. After you write out a postscript file, find that
line with "waittimeout" on it. It should look something like (or
maybe exactly like) this except that it will be all on one line:
/tx{userdict/note known pgs 1680 eq 1 index and{legal}if pgs 1212
eq{dup{note}if 54 32.4 translate}if pgs 1403 eq userdict/a4small known
and{a4small}if pgs 1320 eq and{letter}if pxs pys scale ppr aload pop
Fpr{pop exch neg exch translate pop}{translate pop pop 270 rotate}ifelse 1 -1
scale statusdict begin
waittimeout 300 lt{/waittimeout 300 def}if end}bdf
Now change the stuff on the last two lines "scale statusdict begin
waittimeout 300 lt{/waittimeout 300 def}if end}bdf" to just "scale }bdf"
That's it. There's no need to remove that first line in the
text (what I thought was binary stuff). Just doing this seems to be good.
Of course, if you have problems, try taking out the binary stuff.
The final result of the "/tx" line should be this:
/tx{userdict/note known pgs 1680 eq 1 index and{legal}if pgs 1212
eq{dup{note}if 54 32.4 translate}if pgs 1403 eq userdict/a4small known
and{a4small}if pgs 1320 eq and{letter}if pxs pys scale ppr aload pop
Fpr{pop exch neg exch translate pop}{translate pop pop 270 rotate}ifelse 1 -1
scale }bdf
By the way, don't forget to put all of those lines back together
afterwards.