Date: 18 Feb 1999 09:43:54 +0100 From: Graeme Brown <graeme.brown@bt-sys.bt.co.uk> To: freebsd-questions@freebsd.org Subject: Why does lpd say I have no printer ? Message-ID: <n1292791608.13146@maczebedee>
next in thread | raw e-mail | index | archive | help
Can anyone point me in the right direction concerning a problem with configuring my FreeBSD host (freeb1) lpd spooler to access a remote network printer ? The remote printer is "lp" with print server at host freeb15. I can ping free freeb15 from freeb1 OK % ping freeb15 PING freeb15 (132.146.239.202): 56 data bytes 64 bytes from 132.146.239.202: icmp_seq=0 ttl=255 time=0.716 ms 64 bytes from 132.146.239.202: icmp_seq=1 ttl=255 time=0.457 ms 64 bytes from 132.146.239.202: icmp_seq=2 ttl=255 time=0.443 ms 64 bytes from 132.146.239.202: icmp_seq=3 ttl=255 time=0.441 ms 64 bytes from 132.146.239.202: icmp_seq=4 ttl=255 time=0.455 ms 64 bytes from 132.146.239.202: icmp_seq=5 ttl=255 time=0.459 ms ^C --- freeb15 ping statistics --- 6 packets transmitted, 6 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.441/0.495/0.716/0.099 ms % My /etc/printcap contains #remote|sample remote printer:\ lp|ljet4|ljet4_1|remote|remote printer:\ :lp=:\ :rm=freeb15:mx#0:sd=/var/spool/lp:lf=/var/log/lpd-errs: The spool directory for lp exists (/var/spool/lp), owner=daemon, group=daemon, mode-=770 as recommendations in FBSD Handbook. % ls -l /var/spool total 8 drwxr-xr-x 4 root bin 512 Oct 28 10:01 fax drwxrwxr-x 2 uucp dialer 512 Oct 21 1997 lock drwxrwx--- 2 daemon daemon 512 Feb 17 16:21 lp <------ drwxr-xr-x 2 bin daemon 512 Oct 21 1997 lpd drwxr-xr-x 2 root daemon 512 Feb 18 02:01 mqueue drwxr-xr-x 3 bin daemon 512 Feb 11 1998 output drwxrwxr-x 7 uucp uucp 512 Oct 21 1997 uucp drwxrwxrwx 2 uucp uucp 512 Oct 21 1997 uucppublic % lpd is running on freeb1 % ps -ax | grep lpd 3631 ?? Is 0:00.00 lpd 3604 p7 S+ 0:02.69 tail -f lpd-errs 4457 p8 S+ 0:00.01 grep lpd % BUT when I try to print I get % lpr /etc/hosts lpr: lp: unknown printer % I do not get any useful error messages in /var/log/lpd-errs % tail -f /var/log/lpd-errs Nov 30 09:35:31 freeb1 lpd[143]: restarted Nov 30 09:56:17 freeb1 lpd[143]: restarted Jan 5 10:31:41 freeb1 lpd[143]: restarted Jan 7 10:11:27 freeb1 lpd[143]: restarted Jan 19 16:51:12 freeb1 lpd[143]: restarted Jan 25 09:20:18 freeb1 lpd[143]: restarted Feb 17 16:08:40 freeb1 lpd[3550]: restarted Feb 17 16:24:25 freeb1 lpd[3594]: restarted Feb 17 16:36:59 freeb1 lpd[3626]: restarted Feb 17 16:39:56 freeb1 lpd[3631]: restarted The print server (freeb15) is running FBSD with LPRng spooler. The /etc/printcap on freeb15 is # Jerome on 22/01/99 lp|pr541e :lp=pr541e.b29btlip.bt.co.uk%9100 :sh :cm=HP LaserJet4 (JetDirect box) :sd=/var/spool/lpd/pr541e :of=/usr/local/lib/filters/ofhp: :if=/usr/local/lib/filters/ifhp: :vf=/usr/local/lib/filters/ifhp -c: :lf=log :af=acct :mx#0 TIA Graeme Brown BT Labs, UK email: graeme.brown@bt-sys.bt.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?n1292791608.13146>