Date: Mon, 01 Nov 2004 23:46:57 -0800 From: Jay O'Brien <jayobrien@att.net> To: FreeBSD - questions <questions@freebsd.org> Subject: Re: How to print to hp JetDirect/LaserJet 1300 Network printer (RESOLVED) Message-ID: <41873B71.8050503@att.net> In-Reply-To: <200410312129.40934.mapsware@prodigy.net.mx> References: <4183F1F3.90401@att.net> <200410312129.40934.mapsware@prodigy.net.mx>
next in thread | previous in thread | raw e-mail | index | archive | help
I now have my JetDirect hp LaserJet 1300 working over my LAN. There's lots of tweaking yet to do, but here's what I had to do to make it print. The printer name is hp1300, its IP is 192.168.1.40. The FreeBSD (4.10) computer is server1.xyz.net (xyznet substituted for real URL) and its IP is 192.168.1.9. 1. add to /etc/printcap: lp|hp1300:\ :lp=:rm=192.168.1.40:rp=text:lf=/var/log/lpd-errs:\ :sd=/var/spool/lpd:mx#0:sh: 2. add to /etc/hosts file: 192.168.1.9 server1.xyz.net server1 3. As root, type lpd to start master lpd process (later I added lpd_enable="YES" to rc.conf 4. Test printer by typing: lptest 20 5 | lpr Thanks to all who have assisted with responses; your help has been invaluable. Oh yes, I don't understand why the addition was necessary to the hosts file; I now see I can remove it and the printer continues to work. I was prompted by an error message to define server1 and I believe it was necessary for the initial print job. Can anyone explain this? Jay O'Brien Rio Linda, CA USA
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41873B71.8050503>