* Filtering network printers
@ 1996-12-30 21:46 Robert L. McMillin
0 siblings, 0 replies; only message in thread
From: Robert L. McMillin @ 1996-12-30 21:46 UTC (permalink / raw)
To: tru64-unix-managers
I would like to add a filter to a networked printer that understands
lpd, in this instance, an Apple color printer. Normally, the printcap
entry for such a device looks like this:
color:\
:rm=color:\
:rp=color:
I would like to preprocess (filter) print jobs to reverse grayscale to
conserve toner, since most of our images have a black background.
However, when I add a 'if=black2white' entry, as
color:\
:rm=color:\
:rp=color:\
:if=/usr/local/bin/black2white:
lpd doesn't invoke the filter. I have considered the following as one
way out:
#
# input filter processes input and redirects via lpr to
# realcolor spool
#
color:\
:if=/usr/local/bin/black2white:
#
# black2white filter redirects output to this spool
#
realcolor:\
:rm=color:\
:rp=color:
I find this offensive. Does the input filter really only come into play
if the printer is local? Does anyone have any suggestions on less ugly
alternatives?
--
Robert L. McMillin | Do you *really* think Syseca pays me for these opinions?
rlm@syseca-us.com | personal: rlm@netcom.com | rlm@helen.surfcty.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-12-30 21:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-12-30 21:46 Filtering network printers Robert L. McMillin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox