lprng
Marcel Kunath
kunathma@pilot.msu.edu
Wed, 13 Dec 2000 13:07:01 -0500 (EST)
I got a masq box which communicates fine both ways. Printer is set up on inside
network as 192.168.1.100 and I can ping it.
1)
I got the following printcap:
smurf:cm=Network Printer smurf
:lp=smurf.montiehouse.com%9100
:sd=/var/spool/lpd/%P
:ifhp=model=hp2100,status@
:sh
:filter=/usr/local/libexec/filters/ifhp
:mx#0
2)
/etc/hosts contains the host-IP reference:
192.168.1.100 smurf.montiehouse.com smurf
3)
I have ifhp installed. When I try to queue a job the following happens:
bash-2.04# lpr -Psmurf printcap
Status Information:
sending job 'root@mail+118' to smurf@localhost
connecting to 'localhost', attempt 1
connected to 'localhost'
requesting printer smurf@localhost
sending control file 'cfA118mail.montiehouse.com' to smurf@localhost
error 'LINK_TRANSFER_FAIL' sending file 'cfA118mail.montiehouse.com' to
smurf@localhost
job 'root@mail+118' transfer to smurf@localhost failed
4)
I got /var/spool/lpd/smurf as 755.
5)
bash-2.04# lpq
Printer: lp@mail - no spool directory for printer 'lp'
bash-2.04# lpc status all
Printer Printing Spooling Jobs Server Subserver Redirect Status
smurf@mail enabled enabled 0 none none
Help appreciated,
mk