From: Sean (sean at domain hdl.ie)
Date: Wed 04 Aug 1999 - 09:31:44 IST
Peter Flynn wrote:
>
> give us a peek at your /etc/printcap file..
>
> # /etc/printcap
> #
> # Please don't edit this file directly unless you know what you are doing!
> # Be warned that the control-panel printtool requires a very strict format!
> # Look at the printcap(5) man page for more info.
> #
> # This file can be edited with the printtool in the control-panel.
>
> ##PRINTTOOL3## LOCAL ljet4 600x600 a4 {} LaserJet4 Default 1
> lp:\
> :sd=/var/spool/lpd/lp:\
> :mx#0:\
> :sh:\
> :lp=/dev/lp1:\
> :if=/var/spool/lpd/lp/filter:
>
> Bog standard as written by printtool. Works perfectly locally.
on a client machine its setup as a postscript printer so it sends
postscript. The local machine has it as a LaserJet4, so sends as
HP format ? Heres an entry from me printcap.
firstdup:\
:sd=/var/spool/lpd/firstdup:\
:mx#0:\
:lp=/var/spool/lpd/firstdup/null:\
:sh:\
:lf=/var/log/lpd-errs:\
:rm=firstdup.hdl.ie:\
:rp=raw:
I've got no filters setup on this, so the lpd sends stuff as it
recieves
the stuff, no matter what format the stuff is in.
Note if you have more than one printer have different spool
directories.
Heres an entry from a client machine for the above printer:
##PRINTTOOL3## REMOTE POSTSCRIPT 600x600 a4 {} PostScript Default 1
lp:\
:sd=/var/spool/lpd/lp:\
:mx#0:\
:sh:\
:rm=portia.hdl.ie:\
:rp=firstdup:\
:if=/var/spool/lpd/lp/filter:
Other hint, in the filter script at the top have $DEBUG_TREE=1
This should output some debuging info from the script to
/tmp/filter.debug.
>
> are the hosts in hosts.allow ? (not needed though I think)
>
> I don't think hosts.allow is relevant for lpd.
you're right, I'm getting mixed up. hosts.equiv then ?
>
> ///Peter
Sean.
.
ps my printer is a laserjet4000 which is on the network via a jetdirect
card.
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:25 GMT