Is there a symbol that can be used in the filter lines of spooler
configuration files to indicate the input file? For example, $d is
device. Is there a $ for the file name?
I need to be able to filter PostScript from phs-to-ps before I send it
on to the printer to remove the “/setpagedevice” line.
In my application, I don’t care what size paper is in the printer; the
reports are sized to fit on both A4 and Letter paper. However, that
pesky “/setpagedevice” line is screwing it up, telling the printer that
it needs a specific size piece of paper in order to print.
Why is “/setpagedevice” in the PostScript output anyway? AFAIK, it’s not
supposed to be there, especially when using the -E encapsulated option
to phs-to-ps. I have a document from Adobe here right in front of me
that “/setpagedevice” is an illegal operator in Encapsulated PostScript.