Skip to contentSkip to conversation

How to I print to a TCP/IP Port.

DISCUSSION linux 3 participants 3 messages Jan 12, 2005 – Jan 15, 2005 2 messages not in the archive

lore
Share & tools
lore

linux

author
#0 lore raw

I recently migrated from WinXP to Linux (SuSE 9.2 Pro). I need some help setting up my new linux box to print. My old WinXP box printed to a network printer. If I open my printer properties dialog in WinXP I would see the
printer listed with an IP address. How do I set up my SuSE linux to print to
this same printer. I guess what I am asking is, how to I print to a TCP/IP Port. Thanks,

Ed
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#1 lore raw
Quoted 6 lines · linux

I recently migrated from WinXP to Linux (SuSE 9.2 Pro). I need some help setting up my new linux box to print. My old WinXP box printed to a network printer. If I open my printer properties dialog in WinXP I would see the
printer listed with an IP address. How do I set up my SuSE linux to print to
this same printer. I guess what I am asking is, how to I print to a TCP/IP Port. Thanks,

The answer depends a bit on what the printer expects in the way of input. Usually (in my experience), networked printers include embedded "lp" servers (listening on port 515/tcp). If you have one like that, you can access it by running an lp daemon on your Linux system, and configuring it to access a remote printer.

I don't know SuSE specifically, so I don't know which of several lpd implementations it runs. The package I use here is lprng. Using it, you configure access to the remote printer via an entry in /etc/printcap, for example one like this:

        caxton|caxton|raw:\
                :lp=:\
                :rm=caxton:\
                :rp=raw:\
                :sd=/var/spool/lpd/caxton-raw:\
                :sh:sf

The "rm=" line supplies the printer's address (in the example, "caxton" is a hostname that the Linux host can resolve).

Signature · 10 lines
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.10 - Release Date: 1/10/2005


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw
Quoted 7 lines · you

No objections at all....

.... i just don't understand what to do
yet. I am REALLY new to linux so I am make very slow progress. Thanks for your help.

Ed

slow progress is better than none ;-)
Enter "localhost:631" administration and go through "printers" -> add printer. You will be asked for a description and a localtion - information data only - and for a device URI. This is the ip address of your remote printer. You also will probably have to choose the driver for your printer from the list of printers. Try in a shell "gs --help", this will show you the list of all printers suported by your software.

I would start trying to connect the printer to your box directly in the first approach, and later connecting the printer as a remote one. Is your remote printer a standalone device or is it connected to a server ?

A very good start is the cups documentation in the "help" of the localhost:631.
Remember: try and error !
Good luck
BTW.: follow up through "newbies", not directly, as more persons may help you and others may also have a benefit from this emails.
Regards,
Edgar
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs