On Sun, 22 Feb 1998, Asher Haig wrote: > How do I go about setting up linux to print to a Jetdirect printer? The > HP page is useless. From what I see, it appears that I need to set it up > with lpd as a tcp/ip printer. Does that mean that I have to have an > additional IP address on my network for the printer (if so, is there any > way around that?)?
We have set up our Jetdirect this way. The Jetdirect card needs an IP address if it is on a TCP/IP network (which I presume your Linux box is on too). Once the IP address has been assigned, the Jetdirect acts like a standalone lpd to whcih you can feed data from a Linux printqueue. There are a couple of tricks to making it work properly. One is to make sure that you have turned off the header page (I had to upgrade the Jetdirect firmware to do this). The other is to have the proper queue name in your printcap. I have enclosed mine below: lj4m|ls178_hp4m|First Floor Department LaserJet:\ :lp=/dev/null:\ :rm=xxx.xxx.xxx.xxx:\ :rp=text:\ :sd=/var/spool/lpd/ls178_hp4m:\ :sh:pw#80:pl#66:px#1440:mx#0:\ :af=/var/log/lp-acct:\ :lf=/var/log/lp-errs: Once you have the queue established, you can serve it to any Windows95 machines on the network by using samba. I am not aware of any way of getting around the requirement of having an IP number for the Jetdirect. You could always connect the preinter directly to the parallel port of a Linux box and then set up a queue and serve it to the rest of the network. I have done this with a non-Jetdirect HP LaserJet but I much prefer the jetdirect solution. Good Luck, Carlo <-------------------------------> Carlo U. Segre Associate Professor of Physics Illinois Institute of Technology Chicago, IL 60616 Voice:(312) 567-3498 FAX: (312) 567-3494 http://www.iit.edu/~segre [EMAIL PROTECTED] -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .