How to print to hp JetDirect/LaserJet 1300 Network printer
(RESOLVED)
Jay O'Brien
jayobrien at att.net
Mon Nov 1 23:47:08 PST 2004
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
More information about the freebsd-questions
mailing list