Mario Veraart (rioj7++at++fel.tno.nl)
Mon, 15 Jan 96 16:19:17 +0100
I found in the latest FAQ of Performer that a technical report about
Performer 2.0 was at the sgi ftp site.
ftp://sgigate.sgi.com/pub/Performer/docs/techreport/pftech2.0toc.ps
ftp://sgigate.sgi.com/pub/Performer/docs/techreport/pftech2.0.ps
The postscript file as such contains a bug in the FrameMaker prolog code.
This was pointed out to me by Urs Meyer from SGI Zurich.
The solution was to use the stream editor to add one character.
sed '/paperheight]put setpagedevice/s;setpagedevice;/setpagedevice;' ps-file |
lp ...
This is part of the solution. The sed that I use just made a mess of
the result file. I discovered that the prolog code used '\n' as
line separators and the document, an inlined EPS file, used '\r'
as separator.
So to print the postscript files, in case you get the "Papersize not
select error", is to use the tr filter before sed.
tr '\015' '\012' <$1 |
sed '/paperheight]put setpagedevice/s;setpagedevice;/setpagedevice;' |
lp ...
All these 3 lines concatenated on one command line.
At least some of us in Europe use A4 papersize and have to
deal with it.
Mario Veraart
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:15 PDT