At 12:33 PM +0000 10/30/00, Steve O'Hara-Smith wrote:
>       I have found that lpr does not pass the -C parameters to
>lpd unless burst header pages are being printed. Unfortunately
>apsfilter (ab)uses the -C parameters for printer mode control.
>The patch below moves pass through of the -C parameters out of
>the conditional block. As far as I can see this is never harmful.

I suspect it is never harmful within our lpr.  Not sure about
how lprNG or various other things would treat it.  My guess
is it should never be harmful.

In fact, I'm inclined to say both the 'C' and 'P' lines should
be moved out of that conditional block.  The only thing that
really triggers a header sheet is the 'L' line, and there are
other processes which might want that 'P' line to be there even
if the header sheet is off.

I could put that change into lpr in -current, if you want.  It
should probably sit there for a little while just to make sure it
doesn't cause any problems when sent to other lpr implementations.
(which is to say, this will not make 4.2-release...)


---
Garance Alistair Drosehn            =   [EMAIL PROTECTED]
Senior Systems Programmer           or  [EMAIL PROTECTED]
Rensselaer Polytechnic Institute    or  [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message

Reply via email to