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

Re: Advice printing on a network Laserjet 4L (fwd)



Hi Guys,

Here's what I use for printing to a network HP 4L.  The lp printer in
/etc/printcap processes jobs with the script remote-filter.  This filter
just uses the ljet4-filter from the magicfilter package and pipes the
output to lpr printing to printer lp-r.  Files printed to lp-r go
directly to jetd, the jetdirect adapter that attaches the 4L to the
network.  The jetdirect normally supports win95 directly, but not when
running lpd.  Therefore I use samba to make the lp-r printer available
to win95 users.  win95 knows the capabilities of the printer, so it
doesn't need to be filtered.

I hope this helps.  If you have any more questions let know.

Lee Bradshaw
lee.bradshaw@mindspring.com

/usr/local/bin/remote-filter:
=============================
#!/bin/sh
/usr/sbin/ljet4l-filter | lpr -Plp-r

/etc/printcap:
==============
lp|lj|hplj4l|HP Laserjet 4L:\
        :lp=/dev/null:\
        :sd=/var/spool/lpd/hplj4l:\
        :sh:\
        :pw#80:\
        :pl#66:\
        :px#1440:\
        :mx#0:\
        :if=/usr/local/bin/remote-filter:\
        :af=/var/log/lp-acct:\
        :lf=/var/log/lp-errs:
lp-r|HP Laserjet 4L-r:\
        :lp=/dev/null:\
        :sd=/var/spool/lpd/hplj4l-r:\
        :sh:\
        :pw#80:\
        :pl#66:\
        :px#1440:\
        :mx#0:\
        :af=/var/log/lp-acct-r:\
        :lf=/var/log/lp-errs-r:\
        :rm=jetd:\
        :rp=raw:


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: