Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing to a remote printer

Status
Not open for further replies.
Mar 8, 2001
14
US
I've got a Linux box on a LAN, and want to print from it to a remote, stand-alone printer, which is on the LAN and has its own IP address. Can anyone point me to a resource which details the solution?

Running Red Hat 7.0
Network printer is an HP 4000N LaserJet

I tried running printtool, clicking Add, and then selecting "Direct to port printer", but am not sure if this is the right direction, and even if so, not sure what to do with the "Port Number" field.

Thank you,

Mark
(new to Linux)
 
if you want to print from the command line you can just type lpr -P ipaddress filename to print. If you have netscape as your browser, you can use the same command to print.

Hope this helps.....


 
I have a jetdirect box that was set up by default to print to port 9100

You could try to see if this is what is required in the port number field...

Hope this helps

AV
tnedor@yahoo.com
 
If you look in /etc/services and look for the "print" entry you will see the default port your computer uses for print services (mine is 515). Here is my /etc/printcap entry, look at your /etc/printcap and use this as a template for your printer and see if it works.

lp: :sh: :ml=0: :mx=0: :sd=/var/spool/lpd/lp: :rm=10.10.5.38: :rp=le77p1: :lpd_bounce=true: :if=/usr/share/printconf/mf_wrapper:
d3funct
vanya43@yahoo.com
The software required `Windows 95 or better', so I installed Linux.

 
You could also try printing through samba if you have it installed. Ian

"IF" is not a word it's a way of life
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top