Subject: Re: correct/accepted way for lpd to transparently pass data to
To: Jeremy C. Reed <reed@reedmedia.net>
From: David Brownlee <abs@netbsd.org>
List: netbsd-users
Date: 03/15/2001 09:27:21
You could also look at the print/if-psprint package from pkgsrc -
its a simple perl script filter which allows you to send text,
postscript, or whatever the native printer language might be (as
long as it does not look like text :) to a printer.
David/absolute -- www.netbsd.org: No hype required --
On Wed, 14 Mar 2001, Jeremy C. Reed wrote:
> 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/
>
>