LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   No Network Printing (https://www.linuxquestions.org/questions/linux-hardware-18/no-network-printing-571104/)

hroit 07-21-2007 01:42 AM

No Network Printing
 
I have an HP printer attached to a desktop (the server machine), running Feisty Fawn edition of Ubuntu Linux. I can print just fine from the desktop to the attached printer.

A laptop is on a network with the server. I cannot, however, netwrok print from the laptop.

In setting this up, I've followed the Ubuntu Wiki, using CUPS IPP and port 631.

Both computers show the proper printer icon, but the printer doesn't budge when I send jobs from the laptop.

Code:

tail /var/log/cups/error_log
on the client laptop gives:

Code:

No %%BoundingBox: comment in header!
In addition, after about three minutes of trying to process the job, the same log says:
Code:

Unable to connect to IPP host: Connection timed out
I don't know what I should expect on the server CUPS log, but it doesn't seem at all aware of the job, as its latest entries (with 'tail'') are from an earlier time than the last job sent by the laptop.

The client's web adminstration interface, under the 'jobs' tab, says:

Code:

processing since Fri 20 Jul 2007 09:10:09 PM CEST
The server's web interface says 'no jobs'.

What can I do?

Thank you kindly,
Jackn

carl0ski 07-21-2007 04:04 AM

the default HP TCP printer port is 9301 not 631


and you should go ok

hroit 07-22-2007 01:13 AM

Glad to get a prompt response, carlOski.

I'm aware of port 9100 (which is what I think you're referring to), and have tried it.

Two issues there:
Do all HP printers go with port 9100 or only so-called server printers (such as laser printers)? Mine is a plain Deskjet 5740.
Then, every reference I've seen to port 9100 also calls for the jetDirect protocol, instead of the IPP CUPS protocol. When I tried to use it, I found out I needed the printer's IP address.
I don't know how to get it. With laser printers, apparently you can print a test page that gives you all the info, which might be related to their being server printers. Laser printers have a built-in control panel with an LCD, which my printer doesn't have.
To put it in a nutshell, I've tried applying jetDirect with port 9100, but didn't know how to obtain the printer's IP address.

In the Ubuntu Wiki entry on network printing, by the way, there is no mention of any exception to port 631 to be made for HP printers in general. In addition, the GUI setup automatically goes for port 631, which would be odd if all HP printers required port 9100.

So, at this point, I don't know whether I should use IPP with CUPS and port 631 (and, if so, why it doesn't work), or jetDirect with port 9100 (and, if so, how to go about obtaining the printer's IP address).

Do the diagnostic messages I've posted suggest what the issue might be?

Thank you for your help,
Jackn


All times are GMT -5. The time now is 08:08 PM.