Subject: Re: correct/accepted way for lpd to transparently pass data to printer
To: None <>
From: Mike Parson <>
List: netbsd-users
Date: 03/15/2001 10:50:30
In message <>, 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.
> #!/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.

Michael Parson