Hi all,

I'd like some general advice on the correct way to extract bits of
postscript from a PPD file.  We have our own home-grown filters which
do this, and have worked fine up until now with all HP printers,
however it doesn't seem to work quite as well with a Xerox Phaser
4400DT that I'm playing with.

Specifically, I want users to be able to force the job to be
single-sided (the printer itself defaults to duplex).  Looking in the
ppd file for the Xerox Phaser 4400DT, we have:

*Duplex None/Off: "
 <</Duplex false /Tumble false>> xerox$pagedevice copy pop
"

... so if the user specifies -Zsimplex, this translates into the
following line being extracted and put into the output postscript:

 <</Duplex false /Tumble false>> xerox$pagedevice copy pop

However, the job still comes out duplex.  I note that printing from a
Mac or PC produces the correct result (they both put the above line
surrounded by %%BeginFeature and %%EndFeature - although simply
hacking this bit in doesn't seem to work).  Is there something else I
should be doing in my filter?

Can anyone suggest what I'm doing wrong here?

Thanks
Toby Blake
University of Edinburgh


-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to