From: "Robert L. McMillin" <rlm () syseca-us ! com>
To: tru64-unix-managers
Subject: Filtering network printers
Date: Mon, 30 Dec 1996 21:46:04 +0000 [thread overview]
Message-ID: <96076343421880.tru64-unix-managers.marc@archive.invalid> (raw)
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
reply other threads:[~1996-12-30 21:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox