[95221] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: network printing

daemon@ATHENA.MIT.EDU (Jim Morris)
Fri Oct 16 00:59:52 1998

Date: Thu, 15 Oct 1998 23:59:29 -0500
From: Jim Morris <Jim@Morris.net>
Reply-To: Jim@Morris.net
To: redhat-list@redhat.com, jan@wotan.opt-sci.Arizona.EDU
Resent-From: redhat-list@redhat.com

Jan Heurich wrote:
>
> I need to use a linux machine as a network print server for a HP Lj4000n
> network printer. Does anybody know how to address these printers?

Ok, what you need to do is configure the HP printer to function as a
"LPR" printer via TCP/IP.  I just did this for a QMS Color laser printer
a few days ago - it's been a while since I've been through the menus on
an HP printer though.  Anyway, once you do this, and have the printer
set to a specific IP address, you should be able to go set up a print
queue under Linux that will point to the TCP/IP printer.  Something like
this maybe (and this is from memory - I'm booted into Win95
unfortunately at the moment)....

# HP LJ4000n printcap entry
hp4000n:\
:sd=/var/spool/lpd/hp4000n:\
:rm=XXX.XXX.XXX.XXX:\
:rp=lp:\
:sh:\
:sf:\
:mx#0:

The key thing is the "rm" field. It specifies the remote printing host -
in this case the printer itself.  The other field of importance is the
"rp" field which specifies the print queue on the remote host. Since the
host *is* the printer in this case, I think you can put anything you
want and it will work. On the QMS printer's setup, there were no "print
queues" is the printer setup - but it works with "lp" as the remote
print queue.

Good luck!  If you have any more trouble, take a look at the Printing
HOWTO in the LDP - available from Redhat's site, or
http://www.linux.org.

-- 
/------------------------------------------------\
| Jim Morris  | Business:  jmorris@rtc-group.com |
|             | Personal:  Jim@Morris.net        |
|------------------------------------------------|
|    World Wide Web:  http://Jim.Morris.net      |
\------------------------------------------------/


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post