Gentoo Archives: gentoo-java

From: tramuntanal <tramuntanal@×××××.com>
To: gentoo-java@l.g.o
Subject: Re: [gentoo-java] OFF-TOPIC: printing in java
Date: Thu, 10 May 2007 15:30:12
Message-Id: 8220e8da0705100829n11de5be6y2b8db5095fb84426@mail.gmail.com
In Reply to: Re: [gentoo-java] OFF-TOPIC: printing in java by Mario Fetka
1 >
2 >
3 > i also had the same problem with cups 1.2 its a problem with the new cups
4 > defaults
5 >
6 > more Here
7 >
8 > http://www.cups.org/articles.php?L433+I0+TFAQ+M10+P1+Qjava
9 >
10 > i think this is the reason for your problem.
11 >
12 > wfg
13 > MArio
14 >
15 >
16
17 Mario, I've read the url above but I think it's not the problem because I'm
18 using an old version of CUPS (cups 1.1.22.rc1.9.11) for enterprise
19 restrictions.
20
21 Anyway reading the error log I see the job seems to be sent but the printer
22 never receives it:
23 I [10/May/2007:13:37:29 +0200] Started backend /usr/lib/cups/backend/ipp
24 (PID 53 30) for job 2.
25 d [10/May/2007:13:37:29 +0200] StartJob: Adding fd 8 to InputSet...
26 d [10/May/2007:13:37:29 +0200] add_job_state_reasons(0xb7ccf008[6], 2)
27 D [10/May/2007:13:37:29 +0200] ProcessIPPRequest: 6 status_code=0
28 d [10/May/2007:13:37:29 +0200] ProcessIPPRequest: Adding fd 6 to
29 OutputSet...
30 d [10/May/2007:13:37:29 +0200] WriteClient: Removing fd 6 from OutputSet...
31 I [10/May/2007:13:37:29 +0200] [Job 2] Connecting to sauron on port 631...
32 d [10/May/2007:13:37:29 +0200] ReadClient: 6, used=0, file=-1
33 d [10/May/2007:13:37:29 +0200] ReadClient: httpGets returned EOF...
34 D [10/May/2007:13:37:29 +0200] CloseClient: 6
35 d [10/May/2007:13:37:29 +0200] CloseClient: Removing fd 6 from InputSet and
36 Outp utSet...
37 I [10/May/2007:13:37:29 +0200] [Job 2] Connected to sauron...
38 D [10/May/2007:13:37:29 +0200] [Job 2] Getting supported attributes...
39 D [10/May/2007:13:37:29 +0200] [Job 2] document-format-supported (27 values)
40 D [10/May/2007:13:37:29 +0200] [Job 2] [0] = "application/octet-stream"
41 D [10/May/2007:13:37:29 +0200] [Job 2] [1] = "application/pdf"
42 D [10/May/2007:13:37:29 +0200] [Job 2] [2] = "application/postscript"
43 D [10/May/2007:13:37:29 +0200] [Job 2] [3] =
44 "application/vnd.cups-postscript"
45 D [10/May/2007:13:37:29 +0200] [Job 2] [4] = "application/vnd.cups-raw"
46 D [10/May/2007:13:37:29 +0200] [Job 2] [5] = "application/vnd.hp-hpgl"
47 D [10/May/2007:13:37:29 +0200] [Job 2] [6] = "application/x-cshell"
48 D [10/May/2007:13:37:29 +0200] [Job 2] [7] = "application/x-csource"
49 D [10/May/2007:13:37:29 +0200] [Job 2] [8] = "application/x-perl"
50 D [10/May/2007:13:37:29 +0200] [Job 2] [9] = "application/x-shell"
51 D [10/May/2007:13:37:29 +0200] [Job 2] [10] = "image/gif"
52 D [10/May/2007:13:37:29 +0200] [Job 2] [11] = "image/jpeg"
53 D [10/May/2007:13:37:29 +0200] [Job 2] [12] = "image/png"
54 D [10/May/2007:13:37:29 +0200] [Job 2] [13] = "image/tiff"
55 D [10/May/2007:13:37:29 +0200] [Job 2] [14] = "image/x-bitmap"
56 D [10/May/2007:13:37:29 +0200] [Job 2] [15] = "image/x-photocd"
57 D [10/May/2007:13:37:29 +0200] [Job 2] [16] = "image/x-portable-anymap"
58 D [10/May/2007:13:37:29 +0200] [Job 2] [17] = "image/x-portable-bitmap"
59 D [10/May/2007:13:37:29 +0200] [Job 2] [18] = "image/x-portable-graymap"
60 D [10/May/2007:13:37:29 +0200] [Job 2] [19] = "image/x-portable-pixmap"
61 D [10/May/2007:13:37:29 +0200] [Job 2] [20] = "image/x-sgi-rgb"
62 D [10/May/2007:13:37:29 +0200] [Job 2] [21] = "image/x-sun-raster"
63 D [10/May/2007:13:37:29 +0200] [Job 2] [22] = "image/x-xbitmap"
64 D [10/May/2007:13:37:29 +0200] [Job 2] [23] = "image/x-xpixmap"
65 D [10/May/2007:13:37:29 +0200] [Job 2] [24] = "text/html"
66 D [10/May/2007:13:37:29 +0200] [Job 2] [25] = "text/plain"
67 D [10/May/2007:13:37:29 +0200] [Job 2] [26] = ""
68 D [10/May/2007:13:37:29 +0200] [Job 2] printer-uri =
69 "ipp://sauron:631/printers/ lj2430"
70 D [10/May/2007:13:37:29 +0200] [Job 2] requesting-user-name = "oliver"
71 D [10/May/2007:13:37:29 +0200] [Job 2] job-name = "Java Printing"
72 I [10/May/2007:13:37:29 +0200] [Job 2] Print file accepted - job ID 14647.
73 I [10/May/2007:13:37:29 +0200] [Job 2] Waiting for job to complete...
74 d [10/May/2007:13:37:29 +0200] UpdateCUPSBrowse: (126 bytes from
75 192.168.0.222) 9016 4 ipp://sauron:631/printers/lj2430 "" "lj2430" "HP
76 LaserJet 2430 Foomatic/h pijs" job-sheets=none,none lease-duration=300
77 d [10/May/2007:13:37:30 +0200] select_timeout: 11 seconds to process active
78 jobs
79 d [10/May/2007:13:37:30 +0200] UpdateCUPSBrowse: (126 bytes from
80 192.168.0.222) 9016 3 ipp://sauron:631/printers/lj2430 "" "lj2430" "HP
81 LaserJet 2430 Foomatic/h pijs" job-sheets=none,none lease-duration=300
82 d [10/May/2007:13:37:31 +0200] select_timeout: 11 seconds to process active
83 jobs
84 d [10/May/2007:13:37:32 +0200] UpdateCUPSBrowse: (122 bytes from
85 192.168.0.80) 2 0006 3 ipp://as1:631/printers/lj2430 "" "Impressora en brut"
86 "Local Raw Printer" job-sheets=none,none lease-duration=300
87 d [10/May/2007:13:37:33 +0200] select_timeout: 11 seconds to process active
88 jobs
89 d [10/May/2007:13:37:39 +0200] PID 5330 exited with no errors.
90 D [10/May/2007:13:37:39 +0200] UpdateJob: job 2, file 0 is complete.
91 d [10/May/2007:13:37:39 +0200] UpdateJob: Removing fd 8 from InputSet...
92 D [10/May/2007:13:37:39 +0200] CancelJob: id = 2
93 D [10/May/2007:13:37:39 +0200] StopJob: id = 2, force = 0
94 D [10/May/2007:13:37:39 +0200] StopJob: printer state is 3
95 d [10/May/2007:13:37:39 +0200] StopJob: Freeing status buffer...
96 d [10/May/2007:13:37:39 +0200] SaveJob: Closing file 8...
97 d [10/May/2007:13:37:39 +0200] SaveJob: Closing file 8...
98
99 As i see this topic is too off-topic I'll move it to the cups forum (I
100 didn't knew it exists).
101 Thanks to all for your support, it's good to see people helps each other!