Subject: Re: correct/accepted way for lpd to transparently pass data to
To: Henry Nelson <henry@irm.nara.kindai.ac.jp>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-users
Date: 03/14/2001 21:18:52
On Thu, 15 Mar 2001, Henry Nelson wrote:

> 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

I think "rw" is the printer capability to use.

Here is an example I use:

raw:\
        :rw:sh: \
        :lp=/dev/lp0: \
        :sd=/var/spool/lpd/raw: \
        :mx#0:\
        :af=/var/log/lp-acct:\
        :lf=/var/log/lp-errs:\
        :fx=flp:\
        :sf:

It prints directly without a filter. (My wife uses some hard-to-use
operating system that sends her email via SMB to our print server; the
printer content is already to use, so it uses this "raw" printer.)

   Jeremy C. Reed
   http://www.reedmedia.net/