Re: How to print to hp JetDirect/LaserJet 1300 Network printer (RESOLVED)
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.9server1.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 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to print to hp JetDirect/LaserJet
Mike Jeays wrote: Add rm=192.168.1.40 to the /etc/printcap entry. My example is (faraday is the name of the machine with the printer): lp|hp710c:\ :lp=::rm=faraday:rp=lp:lf=/var/log/lpd-errs:sd=/var/spool/lpd:mx#0: Mike, Thanks much, but that doesn't work for me. I also tried rm=http://192.168.1.40 and that produced some error results; I'll experiment more tomorrow. Jay ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to print to hp JetDirect/LaserJet 1300 Network printer?
On Saturday 30 October 2004 12:56, Jay O'Brien wrote: I'm a new user of 4.10. I want to print to my hp 1300 LaserJet, which has a JetDirect network server and is connected to my LAN. The printer is assigned the fixed IP 192.168.1.40. I can ping that address from my FreeBSD computer. make an entry in their /etc/printcap files with the following: 1.- Name the entry anything you want. For simplicity, though, you probably want to use the same name and aliases as on the printer host. 2.- Leave the lp capability blank, explicitly (:lp=:). 3.- Make a spooling directory and specify its location in the sd capability. LPD will store jobs here before they get sent to the printer host. 4.- Place the ip of the jetdirect in the rm capability. 5.- Place the string raw or text in the rp capability. Tip: If you are using a Hewlett Packard Laserjet then the printer name rp=text will automatically perform the LF to CRLF conversion for you. maps ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to print to hp JetDirect/LaserJet 1300 Network printer?
I'm confused, as there seem to be many conflicting directions out there. http://Linuxprinting.org is overwhelming. I'm a new user of 4.10. I want to print to my hp 1300 LaserJet, which has a JetDirect network server and is connected to my LAN. The Win machines on the LAN print fine to the printer. The printer is assigned the fixed IP 192.168.1.40. I can ping that address from my FreeBSD computer. Suggestions? Jay O'Brien Rio Linda, CA USA ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to print to hp JetDirect/LaserJet 1300 Network printer?
On Saturday 30 October 2004 12:56 pm, Jay O'Brien wrote: I'm confused, as there seem to be many conflicting directions out there. http://Linuxprinting.org is overwhelming. I'm a new user of 4.10. I want to print to my hp 1300 LaserJet, which has a JetDirect network server and is connected to my LAN. The Win machines on the LAN print fine to the printer. The printer is assigned the fixed IP 192.168.1.40. I can ping that address from my FreeBSD computer. Suggestions? It is about as simple a printer to print to that you can get. On the other hand, you have problems configuring all possibilities. I use lp|HPLJ2:\ :lp=:\ :rm=psrvr:\ :rp=L1:\ :if=/var/spool/lpd/lj.sh:\ :lf=/var/log/lpd-errs:\ :sd=/var/spool/lpd:\ :mx#0 for my printcap entries. I have a netgear printsever and it is l1 on the server. I can't lp a file because it stairsteps but I want to print from kword and don't have any problem. Kent Jay O'Brien Rio Linda, CA USA ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to print to hp JetDirect/LaserJet 1300 Network printer?
Kent Stewart wrote: On Saturday 30 October 2004 12:56 pm, Jay O'Brien wrote: I'm confused, as there seem to be many conflicting directions out there. http://Linuxprinting.org is overwhelming. I'm a new user of 4.10. I want to print to my hp 1300 LaserJet, which has a JetDirect network server and is connected to my LAN. The Win machines on the LAN print fine to the printer. The printer is assigned the fixed IP 192.168.1.40. I can ping that address from my FreeBSD computer. Suggestions? It is about as simple a printer to print to that you can get. On the other hand, you have problems configuring all possibilities. I use lp|HPLJ2:\ :lp=:\ :rm=psrvr:\ :rp=L1:\ :if=/var/spool/lpd/lj.sh:\ :lf=/var/log/lpd-errs:\ :sd=/var/spool/lpd:\ :mx#0 for my printcap entries. I have a netgear printsever and it is l1 on the server. I can't lp a file because it stairsteps but I want to print from kword and don't have any problem. Kent Jay O'Brien Rio Linda, CA USA Kent, How does that send the files to be printed to 192.168.1.40? Stairsteps? Jay ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to print to hp JetDirect/LaserJet 1300 Network printer?
Jay O'Brien wrote: I'm confused, as there seem to be many conflicting directions out there. http://Linuxprinting.org is overwhelming. I'm a new user of 4.10. I want to print to my hp 1300 LaserJet, which has a JetDirect network server and is connected to my LAN. The Win machines on the LAN print fine to the printer. The printer is assigned the fixed IP 192.168.1.40. I can ping that address from my FreeBSD computer. Suggestions? Jay O'Brien Rio Linda, CA USA ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Try this link file:///usr/share/doc/en_US.ISO8859-1/books/handbook/printing-advanced.html go to section 9.4.3 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to print to hp JetDirect/LaserJet 1300 Network printer?
On Saturday 30 October 2004 01:34 pm, Jay O'Brien wrote: Kent Stewart wrote: On Saturday 30 October 2004 12:56 pm, Jay O'Brien wrote: I'm confused, as there seem to be many conflicting directions out there. http://Linuxprinting.org is overwhelming. I'm a new user of 4.10. I want to print to my hp 1300 LaserJet, which has a JetDirect network server and is connected to my LAN. The Win machines on the LAN print fine to the printer. The printer is assigned the fixed IP 192.168.1.40. I can ping that address from my FreeBSD computer. Suggestions? It is about as simple a printer to print to that you can get. On the other hand, you have problems configuring all possibilities. I use lp|HPLJ2:\ :lp=:\ :rm=psrvr:\ :rp=L1:\ :if=/var/spool/lpd/lj.sh:\ :lf=/var/log/lpd-errs:\ :sd=/var/spool/lpd:\ :mx#0 for my printcap entries. I have a netgear printsever and it is l1 on the server. I can't lp a file because it stairsteps but I want to print from kword and don't have any problem. Kent Jay O'Brien Rio Linda, CA USA Kent, How does that send the files to be printed to 192.168.1.40? psrvr is in my hosts table. Stairsteps? That is where you need a cr but only get a lf. With Unix only sending a linefeed, it walks across and down the page like stairs. Kent Jay -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to print to hp JetDirect/LaserJet
Add rm=192.168.1.40 to the /etc/printcap entry. My example is (faraday is the name of the machine with the printer): lp|hp710c:\ :lp=::rm=faraday:rp=lp:lf=/var/log/lpd-errs:sd=/var/spool/lpd:mx#0: ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]