LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 06-29-2004, 09:19 PM   #1
pingswept
Member
 
Registered: May 2003
Location: Cambridge, MA
Distribution: SuSE, RedHat, and OpenBSD
Posts: 116

Rep: Reputation: 15
Problem with networked printing with CUPS-- hostname showing up where it shouldn't


I've been trying to print from my RH9 machine to a networked printer using the "print a test page" button built in to CUPS. When I print a test page, I get the error message "The connection was refused when attempting to contact chemp:631." Chemp is the hostname of the computer I'm trying to print from.

However, the URI for the printer, listed right above the "print a test page" on the CUPS admin page, reads:

Device URI: http://192.168.1.31:631/ipp/

This is the IP of the printer, but for some reason, it's trying to print to the local host.

Any ideas on how to troubleshoot this?
 
Old 06-29-2004, 09:38 PM   #2
pingswept
Member
 
Registered: May 2003
Location: Cambridge, MA
Distribution: SuSE, RedHat, and OpenBSD
Posts: 116

Original Poster
Rep: Reputation: 15
I did a little more experimentation with the printer, and it looks like it's just the "print a test page" button that is using the wrong destination. If I try to print from OpenOffice, I can see IPP packets go to the printer. The initial TCP handshake goes fine, but then the printer stops responding. My computer keeps sending a packet that looks like this:

.......0 ..X9..E.
0010 00 d3 d5 12 40 00 40 06 e1 37 c0 a8 01 6b c0 a8 ....@.@. .7...k..
0020 01 1f c3 9e 02 77 0b a8 db 6b 00 00 02 4f 50 18 .....w.. .k...OP.
0030 16 d0 84 a0 00 00 43 6f 6e 74 65 6e 74 2d 54 79 ......Co ntent-Ty
0040 70 65 3a 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f pe: appl ication/
0050 69 70 70 0d 0a 48 6f 73 74 3a 20 31 39 32 2e 31 ipp..Hos t: 192.1
0060 36 38 2e 31 2e 33 31 0d 0a 0d 0a 01 01 00 0b 00 68.1.31. ........
0070 00 00 01 01 47 00 12 61 74 74 72 69 62 75 74 65 ....G..a ttribute
0080 73 2d 63 68 61 72 73 65 74 00 05 75 74 66 2d 38 s-charse t..utf-8
0090 48 00 1b 61 74 74 72 69 62 75 74 65 73 2d 6e 61 H..attri butes-na
00a0 74 75 72 61 6c 2d 6c 61 6e 67 75 61 67 65 00 05 tural-la nguage..
00b0 65 6e 2d 75 73 45 00 0b 70 72 69 6e 74 65 72 2d en-usE.. printer-
00c0 75 72 69 00 1b 69 70 70 3a 2f 2f 31 39 32 2e 31 uri..ipp ://192.1
00d0 36 38 2e 31 2e 33 31 3a 36 33 31 2f 69 70 70 2f 68.1.31: 631/ipp/

at slowly increasing intervals. The printer (an HP Laserjet 8000 N) reports "86.0003 EIO1 ERROR" on its LCD, and won't respond to anything until I cycle the power. (The rest of the office loves this part.)

Any suggestions on how to proceed? No errors showing up in the CUPS log.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing Problem (cups / cups-lpd) daleman Linux - Software 3 04-08-2005 08:01 AM
CUPS printing problem r3dhatter Linux - General 8 05-16-2004 11:14 AM
CUPS 1.1.20 networked print server permissions problem with SAMSUNG ML-1710 niverson Linux - Networking 0 11-28-2003 12:53 AM
CUPS Printing Problem lawrencegoodman Linux - Newbie 1 09-24-2003 08:55 PM
Cups printing from networked Slackware machine dickkniep Linux - Software 0 05-25-2003 04:27 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration