You are not logged in.

#1 2008-04-03 23:47:27

Yes
Member
Registered: 2008-03-29
Posts: 163

[SOLVED] How should I set up printing to a network printer?

My printer is connected to the router via ethernet - it's not dependent on any OS.  Are there any guides on setting up CUPS for such a printer?  The Wiki seems to cover printers networked through another computer and printers physically connected to the computer, but nothing like what I have.  I currently have CUPS and it's dependencies + hplips (my printer is an HP Officejet something or other), and have started CUPS, but I assume I need to configure something because it won't print.

Thanks!

Last edited by Yes (2008-04-06 02:14:12)

Offline

#2 2008-04-04 00:21:23

z0phi3l
Member
From: Waterbury CT
Registered: 2007-11-26
Posts: 278

Re: [SOLVED] How should I set up printing to a network printer?

I just ran hplip on my system and it installed my network printer just fine, and mine is connected wireless too, but for some reason Windows won't see it hmm


But yea hplip installed it just fine

Offline

#3 2008-04-04 00:24:24

Yes
Member
Registered: 2008-03-29
Posts: 163

Re: [SOLVED] How should I set up printing to a network printer?

How do I run hplip?  It installed fine, but just won't print.

Offline

#4 2008-04-04 02:33:53

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: [SOLVED] How should I set up printing to a network printer?

I also have a printer connected directly to my network, operating system independent, and print via CUPS using the lpd://<ip-address>:<port> method.

Offline

#5 2008-04-04 10:38:54

Yes
Member
Registered: 2008-03-29
Posts: 163

Re: [SOLVED] How should I set up printing to a network printer?

Um, what exactly is this lpd://address:port method?

Offline

#6 2008-04-04 14:00:29

dschrute
Member
From: NJ, USA
Registered: 2007-04-09
Posts: 183

Re: [SOLVED] How should I set up printing to a network printer?

Um, what exactly is this lpd://address:port method?

Most print server devices ( HP Jet Direct, etc. ) act as a network lpd server.  lpd is the original Unix network printing protocol, and is still widely used, including support by CUPS.

The address is ( obviously ) the IP or hostname of your print server.  the port is basically the "queue" the print job will be sent to on the print server.  For CUPS documentation see the "Line Printer Daemon (LPD) Protocol" section here :
http://www.cups.org/documentation.php/network.html

If you're going to use "lpd://..." you need to know how the lpd ports are named for your specific print server.  On HP's, they are typically "raw" for single port JetDirects, and "raw1" "raw2" "raw3" etc. for multiport.  Other manufactireres may use other naming conventions.  IIRC Linksys uses P1, P2, etc.  Anyway, you need to know the manufacturer, and how they name the ports/queues.

My printer is connected to the router via ethernet

Is this a internal jetdirect like device ?

Offline

#7 2008-04-04 15:29:46

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [SOLVED] How should I set up printing to a network printer?

Yes wrote:

My printer is connected to the router via ethernet - it's not dependent on any OS.

Is it connected through a USB cable or is it a 'real' network printer with an RJ45 port?

Are there any guides on setting up CUPS for such a printer?  The Wiki seems to cover printers networked through another computer and printers physically connected to the computer, but nothing like what I have.

Well... I have my (USB) printer hooked up to the router and I configured it with CUPS. In a way it's just like any other setup - your printer is connected to the computer (the router in this case) and listens on a certain port.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#8 2008-04-04 19:15:04

Yes
Member
Registered: 2008-03-29
Posts: 163

Re: [SOLVED] How should I set up printing to a network printer?

It's a real network printer with an RJ45 port. 

How do I use the LPD protocol?  Is there some sort of CUPS config file that I need to edit so it knows to use the LPD protocol and the IP address?

Offline

#9 2008-04-04 21:09:31

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [SOLVED] How should I set up printing to a network printer?

FInd out what protocols your printer supports (read the manual wink).

Then you can check any tutorial for CUPS. CUPS is the same on every Linux distro, except for some patches and version differences. I presume your printer obtains an IP address, you have to point CUPS to that IP, probably with port 9100.

Last edited by B (2008-04-04 21:33:27)


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#10 2008-04-04 23:48:03

Tenken
Member
Registered: 2008-02-01
Posts: 126

Re: [SOLVED] How should I set up printing to a network printer?

After install CUPS, try going to http://localhost:631, click on Administration tab and then the Find Printer button and CUPS should go out and find your printer for you.

Offline

#11 2008-04-04 23:50:34

Yes
Member
Registered: 2008-03-29
Posts: 163

Re: [SOLVED] How should I set up printing to a network printer?

Ok, I've managed to get it printing.  But when it prints, it's like it's printing in a different character set.  It prints somethings right, but it replaces some words with symbols and prints lines on top of each other.  I'm using the HPLIPS driver, does anyone know what might be causing this?

Offline

#12 2008-04-04 23:57:41

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [SOLVED] How should I set up printing to a network printer?

You're using a driver that was written exactly for your model, or is it one that is close?

This sound like postscript stuff to me...


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#13 2008-04-05 00:50:51

Yes
Member
Registered: 2008-03-29
Posts: 163

Re: [SOLVED] How should I set up printing to a network printer?

It's the same as the one I used in Ubuntu, which worked fine.

Also, it seems to still be printing.  There's an LCD on the printer and after something prints it still says "Printing...", then a few minutes later it prints the test page again.  In the CUPS config page under the Jobs tab it says that there are no jobs.  I'm using the LPD protocol, if that matters.

Thanks for all your help smile

Offline

#14 2008-04-05 23:17:37

Tenken
Member
Registered: 2008-02-01
Posts: 126

Re: [SOLVED] How should I set up printing to a network printer?

When you installed CUPS did you install ghostscipt and gsfonts? Which are what handles PostScript stuff.

pacman -Sy ghostscript gsfonts

Offline

#15 2008-04-06 02:13:35

Yes
Member
Registered: 2008-03-29
Posts: 163

Re: [SOLVED] How should I set up printing to a network printer?

Yeah, they were installed.

I got it working be selecting "HP Printer (HPLIPS)" from the dropdown box instead of LPD, and then setting the device URI to hp:/net/Officejet_Pro_L7500?ip=192.168.1.103 .

Thanks again! smile

Offline

Board footer

Powered by FluxBB