Subject: correct/accepted way for lpd to transparently pass data to printer
To: None <netbsd-users@netbsd.org>
From: Henry Nelson <henry@irm.nara.kindai.ac.jp>
List: netbsd-users
Date: 03/15/2001 11:25:23
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

henry nelson