[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Printing from windows



On Wed, Apr 01, 1998 at 04:03:46AM -0500, Will Lowe wrote:
> about how to write a filter that does nothing,  I'll do that ... I'd make
> another printcap entry like this:
> 
> raw|winprint:\
> 	:lp=/dev/NULL:\
> 	:if=/usr/sbin/rawprint:
> 
> where /usr/sbin/rawprint just takes its input and cats it to /dev/lp1 ...
> any ideas?  Remember that I can't cat anything to lp1 without killing lpd,
> which is waiting on lp1 already,  but that if I try to do "lpr" within
> rawprint,  it'll get passed through magicfilter,  which is the problem in
> the first place...

Hmmmm. If you don't specify a filter at all (remove the if=) then
it won't use magicfilter, and will go straight through to the printer.

Then you can have both the raw and cooked (magicfiltered) queues
running in parallel; at least, I THINK this is supported (using the
same port).


Hamish
-- 
Hamish Moffatt, hamish@debian.org, hamish@rising.com.au, hmoffatt@mail.com
Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5
CCs of replies from mailing lists are welcome.   http://hamish.home.ml.org


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: