[cups.bugs] [HIGH] STR #1946: Lexmark e332n fails to print using ipp

Luiz Angelo de Luca luizluca at gmail.com
Wed Aug 30 04:13:05 PDT 2006


[STR New]

Cups autodetect my lexmark e332n using some unknown (by me) method.

This is the info

Description: Lexmark E332n
Location: 
Make and Model: Lexmark E332n PS
Printer State: idle, accepting jobs, published. 
Device URI: ipp://10.9.3.124:631/ipp 

It seems ok but when I ask for the "print test page", The printer (in
cups) gets down and nothing happens to the printers.

Logs shows...


D [29/Aug/2006:13:54:07 -0300] [Job 186] Getting supported attributes...
D [29/Aug/2006:13:54:07 -0300] [Job 186] document-format-supported (4
values)
D [29/Aug/2006:13:54:07 -0300] [0] = "application/octet-stream"
D [29/Aug/2006:13:54:07 -0300] [1] = "application/postscript"
D [29/Aug/2006:13:54:07 -0300] [2] = "application/vnd.hp-PCL"
D [29/Aug/2006:13:54:07 -0300] [3] = "text/plain"
D [29/Aug/2006:13:54:07 -0300] [Job 186] printer-uri =
"ipp://10.9.3.124:631/ipp"
D [29/Aug/2006:13:54:07 -0300] [Job 186] requesting-user-name = "luizluca"
D [29/Aug/2006:13:54:07 -0300] [Job 186] job-name = "Test Page"
E [29/Aug/2006:13:54:12 -0300] [Job 186] Print file was not accepted
(bad-request)!
E [29/Aug/2006:13:54:12 -0300] PID 19650 (/usr/lib/cups/backend/ipp)
stopped with status 1!
D [29/Aug/2006:13:54:12 -0300] [Job 186] File 0 is complete.
I [29/Aug/2006:13:54:12 -0300] [Job 186] Backend returned status 1
(failed)
D [29/Aug/2006:13:54:12 -0300] Discarding unused printer-state-changed
event...

And monitoring using ethereal, I got this communication...

CUPS>PRINTER
ipp version 1.1
Operation print-job
jobname: Test page
   Tag: Name without language
0000   00 04 00 7b 36 9c 00 10 c6 b9 1c 65 08 00 45 00  ...{6......e..E.
0010   01 ad a1 52 40 00 40 06 7f 62 0a 09 01 09 0a 09  ...R at .@..b......
0020   03 7c aa 02 02 77 b2 d8 cb d9 7b 96 2a aa 80 18  .|...w....{.*...
0030   05 b4 1a 36 00 00 01 01 08 0a 25 59 6a e4 01 a6  ...6......%Yj...
0040   b7 b0 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20  ..Content-Type: 
0050   61 70 70 6c 69 63 61 74 69 6f 6e 2f 69 70 70 0d  application/ipp.
0060   0a 48 6f 73 74 3a 20 31 30 2e 39 2e 33 2e 31 32  .Host: 10.9.3.12
0070   34 0d 0a 55 73 65 72 2d 41 67 65 6e 74 3a 20 43  4..User-Agent: C
0080   55 50 53 2f 31 2e 32 2e 32 0d 0a 45 78 70 65 63  UPS/1.2.2..Expec
0090   74 3a 20 31 30 30 2d 63 6f 6e 74 69 6e 75 65 0d  t: 100-continue.
00a0   0a 0d 0a 01 01 00 02 00 00 00 01 01 47 00 12 61  ............G..a
00b0   74 74 72 69 62 75 74 65 73 2d 63 68 61 72 73 65  ttributes-charse
00c0   74 00 05 75 74 66 2d 38 48 00 1b 61 74 74 72 69  t..utf-8H..attri
00d0   62 75 74 65 73 2d 6e 61 74 75 72 61 6c 2d 6c 61  butes-natural-la
00e0   6e 67 75 61 67 65 00 02 65 6e 45 00 0b 70 72 69  nguage..enE..pri
00f0   6e 74 65 72 2d 75 72 69 00 18 69 70 70 3a 2f 2f  nter-uri..ipp://
0100   31 30 2e 39 2e 33 2e 31 32 34 3a 36 33 31 2f 69  10.9.3.124:631/i
0110   70 70 42 00 14 72 65 71 75 65 73 74 69 6e 67 2d  ppB..requesting-
0120   75 73 65 72 2d 6e 61 6d 65 00 05 67 75 65 73 74  user-name..guest
0130   42 00 08 6a 6f 62 2d 6e 61 6d 65 00 09 54 65 73  B..job-name..Tes
0140   74 20 50 61 67 65 49 00 0f 64 6f 63 75 6d 65 6e  t PageI..documen
0150   74 2d 66 6f 72 6d 61 74 00 16 61 70 70 6c 69 63  t-format..applic
0160   61 74 69 6f 6e 2f 70 6f 73 74 73 63 72 69 70 74  ation/postscript
0170   02 45 00 08 6a 6f 62 2d 75 75 69 64 00 2d 75 72  .E..job-uuid.-ur
0180   6e 3a 75 75 69 64 3a 34 66 62 37 32 38 64 66 2d  n:uuid:4fb728df-
0190   35 37 36 61 2d 33 65 35 30 2d 36 32 61 35 2d 34  576a-3e50-62a5-4
01a0   35 35 61 31 65 62 33 61 33 38 38 21 00 06 63 6f  55a1eb3a388!..co
01b0   70 69 65 73 00 04 00 00 00 01 03                 pies.......


PRINTER>CUPS
ipp version 1.0
Status-Code: Client-Error-Bad-Request
Unsupported Attributes: job-uuid (I suppose this one but ethereal didn't 
show it)
0000   48 54 54 50 2f 31 2e 30 20 32 30 30 20 4f 4b 0d  HTTP/1.0 200 OK.
0010   0a 45 78 70 69 72 65 73 3a 20 53 75 6e 2c 20 32  .Expires: Sun, 2
0020   37 20 46 65 62 20 31 39 37 32 20 30 38 3a 30 30  7 Feb 1972 08:00
0030   3a 30 30 20 47 4d 54 0d 0a 50 72 61 67 6d 61 3a  :00 GMT..Pragma:
0040   20 6e 6f 2d 63 61 63 68 65 0d 0a 48 54 54 50 2f   no-cache..HTTP/
0050   31 2e 30 20 32 30 30 20 4f 4b 0d 0a 43 6f 6e 74  1.0 200 OK..Cont
0060   65 6e 74 2d 4c 65 6e 67 74 68 3a 20 31 31 39 0d  ent-Length: 119.
0070   0a 43 6f 6e 74 65 6e 74 2d 74 79 70 65 3a 20 61  .Content-type: a
0080   70 70 6c 69 63 61 74 69 6f 6e 2f 69 70 70 3b 0d  pplication/ipp;.
0090   0a 0d 0a 01 00 04 00 00 00 00 01 01 47 00 12 61  ............G..a
00a0   74 74 72 69 62 75 74 65 73 2d 63 68 61 72 73 65  ttributes-charse
00b0   74 00 05 75 74 66 2d 38 48 00 1b 61 74 74 72 69  t..utf-8H..attri
00c0   62 75 74 65 73 2d 6e 61 74 75 72 61 6c 2d 6c 61  butes-natural-la
00d0   6e 67 75 61 67 65 00 05 65 6e 2d 75 73 41 00 0e  nguage..en-usA..
00e0   73 74 61 74 75 73 2d 6d 65 73 73 61 67 65 00 0b  status-message..
00f0   62 61 64 2d 72 65 71 75 65 73 74 05 10 00 08 6a  bad-request....j
0100   6f 62 2d 75 75 69 64 00 00 03                    ob-uuid...

Link: http://www.cups.org/str.php?L1946
Version: 1.2.2





More information about the cups-devel mailing list