LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Problem with networked printing with CUPS-- hostname showing up where it shouldn't (http://www.linuxquestions.org/questions/linux-general-1/problem-with-networked-printing-with-cups-hostname-showing-up-where-it-shouldnt-199310/)

pingswept 06-29-2004 09:19 PM

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?

pingswept 06-29-2004 09:38 PM

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.


All times are GMT -5. The time now is 11:54 AM.