> From [EMAIL PROTECTED] Tue Aug 22 20:36:52 2000
> From: "Hendrik (Network Administrator)" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Subject: LPRng: Filtering Paper SIZE Configuration
> Date: Wed, 23 Aug 2000 14:33:45 +1200
>
> Hello...
>
> We're evaluating LPRng and ifhp filtring for this school. Our Printers do
> not have access to 'Letter' size paper, we [can] only use 'A4'. We use a
> Networked [Jet Direct] HP4M-Plus.
>
> Whats need to be changed/adjusted in LPRng/or/ifhp filter to only accept
> A4 - and stop any request for 'Letter' paper getting sent to the Printers.
>
> Although clients are configured with Print Drivers set to 'A4'. We
> periodically get Print Jobs from NT clients [ MS Office Apps],
> looking for 'Letter' paper - Is there any way ifhp can change a clients
> request for 'Letter' to 'A4'?
>
> TIA
> Cheers!
> Hendrik
The problem here is that the requests are buried in the PostScript
and/or PJL of the job. You usually have to use a small Perl script
to
a) detect if a job has paper size requests
b) change them to the right size
This is a pain.
An alternative to this is to stick a header onto the job that
says 'if the users requests Letter paper then print on the closest
match'
This is much easier to do.
For guidelines on how to do this, see the PostScript reference manual,
and look at the section on 'setsystemdict'
Patrick
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------