SUMMARY: Filters not used for remote printers

From: Fiedler, Alex <alex.fiedler_at_faulding.com.au>
Date: Fri, 09 May 1997 16:50:06 +0930

Thanks James Sainsbury, Jim Belonis and Randy Dees. I got their
responses before my own posting!

In summary, filters just aren't used where rm= is specified.

WORKAROUND: (To quote Belonis)
--snip---
Because that is the way lpr/lpd work.
If the printer is remote, if and of and lots (all?) other printcap
fields
are ignored. Period.

This can be gotten around by making a fake queue on the
local null device, but use 'if' and/or 'of' to actually filter however
you want
then they should output to another queue which goes to the remote
printer.
I don't do this, so I am not a good source of information on what the if
and of should actually look like.

Belonis
--pins--
i.e. my new filter is
#!/bin/csh -f
(echo "\033&PCLstuff" ; cat ) | lpr -Pljtech
Received on Fri May 09 1997 - 09:54:19 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:36 NZDT