LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-21-2007, 01:42 AM   #1
hroit
Member
 
Registered: May 2006
Location: Israel
Posts: 36

Rep: Reputation: 16
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
 
Old 07-21-2007, 04:04 AM   #2
carl0ski
Member
 
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Blog Entries: 12

Rep: Reputation: 30
the default HP TCP printer port is 9301 not 631


and you should go ok
 
Old 07-22-2007, 01:13 AM   #3
hroit
Member
 
Registered: May 2006
Location: Israel
Posts: 36

Original Poster
Rep: Reputation: 16
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Network printing blackv1rus Linux - Networking 1 06-12-2006 09:15 PM
Network printing drguitarum2005 SUSE / openSUSE 7 12-24-2004 02:47 AM
Network Printing patsyr Linux - Newbie 1 09-22-2004 06:57 AM
Network printing MattLaw Linux - Networking 0 03-10-2004 11:47 AM
Network printing loganwva Linux - Networking 5 01-13-2002 04:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration