Subject: Re: correct/accepted way for lpd to transparently pass data to printer
To: None <netbsd-users@netbsd.org>
From: Bernd Sieker <bsieker@freenet.de>
List: netbsd-users
Date: 03/15/2001 18:05:09
On 15.03.01, 10:50:30, Mike Parson wrote:
> In message <200103150225.LAA14912@ibr1.irm.nara.kindai.ac.jp>, you write:
> >
> > #!/bin/sh
> > cat && exit 0
> > exit 2
>
> That works, but you can also just eliminate the :if: entry in your printcap
> to not have an input filter at all.
Yes, that works fine. I use it to pass data coming from Windows
clients (using samba) directly to the printer. The Windows clients
have the appropriate drivers for that printer installed, and generally
do a much better job at color correction than any ghostscript driver
could.
If the lpd would alter only one byte, I think the printer would not
print correctly.
>
> --
> Michael Parson
> mparson@bl.org
>
--
Bernd Sieker
NetBSD - posix me harder.
-- Julian Assange