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.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!