Subject: Re: correct/accepted way for lpd to transparently pass data to printer
To: None <email@example.com>
From: Mike Parson <firstname.lastname@example.org>
Date: 03/15/2001 10:50:30
In message <200103150225.LAA14912@ibr1.irm.nara.kindai.ac.jp>, you write:
> What's a good way to have lpd not filter the input data, but rather
> pass it transparently to the printer without adding, subtracting or
> altering the data? Right now I'm using the following mini-script as
> "if" to do the job (and it works; yippee), but I'm not at all sure
> what pitfalls there might be in using cat like that. TIA.
> 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.