Hi Kevin,

I use 

PAW > graphics/opt zfl1
PAW > fun1 1 sin(x) 100 0. 3.
PAW > pic/print paw.ps


> Does it make any difference if you manually edit a copy of the original
> PAW-created postscript file so that the above lines instead read as follows
> [...]
> %%EndProlog
> %%Page: number 1
> %%BeginPageSetup
> newpath  gsave  20 28 t .25 .25 scale  gsave
> %%EndPageSetup

No, this gives the same result (i.e. a white paper). 


... I stumbled across the following:

I deleted the BeginSetup EndSetup pair from the postscript file, ie

I deleted line 89 
%%BeginSetup
left line 90 as is
and deleted line 91
%%EndSetup

This then gives the error as described on the cern paw pages. When I
use "fixps" , it re-introduces the %%BeginSetup %%EndSetup pair, but -
surprise - without including the gsave, thus the diff between the
original and the "sanitized" file is

90d89
< newpath  gsave  20 28 t .25 .25 scale  gsave 
91a91
> newpath  gsave  20 28 t .25 .25 scale  gsave 

Or explicitely

%%EndProlog
%%BeginSetup
newpath  gsave  20 28 t .25 .25 scale  gsave 
%%EndSetup
%%Page: number 1

becomes

%%EndProlog
%%BeginSetup
%%EndSetup
newpath  gsave  20 28 t .25 .25 scale  gsave 
%%Page: number 1

and that one prints fine via cups on the postscript printer.

Best regards

Frank


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to