From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1HmAao-00010O-UF for garchives@archives.gentoo.org; Thu, 10 May 2007 15:30:12 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l4AFTJNx024860; Thu, 10 May 2007 15:29:19 GMT Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.236]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l4AFTIE6024850 for ; Thu, 10 May 2007 15:29:18 GMT Received: by nz-out-0506.google.com with SMTP id 12so600123nzp for ; Thu, 10 May 2007 08:29:17 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=lTIrjS74YaqWULPN4XQQekKroS2RH3j5HJj+OT3J1FHz06MkEm76B2Q0NSHhAaA8Y0uRvt4gDc/JvVF2BtgGm0U6gWlEe6CQ4DwgfQPXJiJJzLyE9Q9XXlCkVpK+A0ipaBgCJRNcAZXSs4W8puwxMXdC7OzWxDsBRR8BuBBxPQ4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=G/HY+evn0638rddq4/B1VUJv2U22BFu40AciILIsbLrXlAF7OHhd8VBagu+861V3/NEPetwdXDqlBZZ7tP92xMk37JsiF04QXsQiYc/P1o4Bm2Xl7t1BOfZa9U1uXpKT11Cd0w2Ou1dpuiIKD3jKME3JJ+6SrZ4u6KPkcbzfq1Q= Received: by 10.114.61.1 with SMTP id j1mr567006waa.1178810957313; Thu, 10 May 2007 08:29:17 -0700 (PDT) Received: by 10.114.102.14 with HTTP; Thu, 10 May 2007 08:29:17 -0700 (PDT) Message-ID: <8220e8da0705100829n11de5be6y2b8db5095fb84426@mail.gmail.com> Date: Thu, 10 May 2007 17:29:17 +0200 From: tramuntanal To: gentoo-java@lists.gentoo.org Subject: Re: [gentoo-java] OFF-TOPIC: printing in java In-Reply-To: <200705101051.29027.mario-fetka@gmx.at> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-java@gentoo.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_77705_12782663.1178810957197" References: <200705091400.l49E05JW032177@robin.gentoo.org> <200705101051.29027.mario-fetka@gmx.at> X-Archives-Salt: 5a868a99-5069-48d3-91cb-a1f2cdcac4bc X-Archives-Hash: c5f2f5e8599fa46e8894e1a536ddaccc ------=_Part_77705_12782663.1178810957197 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline > > > i also had the same problem with cups 1.2 its a problem with the new cups > defaults > > more Here > > http://www.cups.org/articles.php?L433+I0+TFAQ+M10+P1+Qjava > > i think this is the reason for your problem. > > wfg > MArio > > Mario, I've read the url above but I think it's not the problem because I'm using an old version of CUPS (cups 1.1.22.rc1.9.11) for enterprise restrictions. Anyway reading the error log I see the job seems to be sent but the printer never receives it: I [10/May/2007:13:37:29 +0200] Started backend /usr/lib/cups/backend/ipp (PID 53 30) for job 2. d [10/May/2007:13:37:29 +0200] StartJob: Adding fd 8 to InputSet... d [10/May/2007:13:37:29 +0200] add_job_state_reasons(0xb7ccf008[6], 2) D [10/May/2007:13:37:29 +0200] ProcessIPPRequest: 6 status_code=0 d [10/May/2007:13:37:29 +0200] ProcessIPPRequest: Adding fd 6 to OutputSet... d [10/May/2007:13:37:29 +0200] WriteClient: Removing fd 6 from OutputSet... I [10/May/2007:13:37:29 +0200] [Job 2] Connecting to sauron on port 631... d [10/May/2007:13:37:29 +0200] ReadClient: 6, used=0, file=-1 d [10/May/2007:13:37:29 +0200] ReadClient: httpGets returned EOF... D [10/May/2007:13:37:29 +0200] CloseClient: 6 d [10/May/2007:13:37:29 +0200] CloseClient: Removing fd 6 from InputSet and Outp utSet... I [10/May/2007:13:37:29 +0200] [Job 2] Connected to sauron... D [10/May/2007:13:37:29 +0200] [Job 2] Getting supported attributes... D [10/May/2007:13:37:29 +0200] [Job 2] document-format-supported (27 values) D [10/May/2007:13:37:29 +0200] [Job 2] [0] = "application/octet-stream" D [10/May/2007:13:37:29 +0200] [Job 2] [1] = "application/pdf" D [10/May/2007:13:37:29 +0200] [Job 2] [2] = "application/postscript" D [10/May/2007:13:37:29 +0200] [Job 2] [3] = "application/vnd.cups-postscript" D [10/May/2007:13:37:29 +0200] [Job 2] [4] = "application/vnd.cups-raw" D [10/May/2007:13:37:29 +0200] [Job 2] [5] = "application/vnd.hp-hpgl" D [10/May/2007:13:37:29 +0200] [Job 2] [6] = "application/x-cshell" D [10/May/2007:13:37:29 +0200] [Job 2] [7] = "application/x-csource" D [10/May/2007:13:37:29 +0200] [Job 2] [8] = "application/x-perl" D [10/May/2007:13:37:29 +0200] [Job 2] [9] = "application/x-shell" D [10/May/2007:13:37:29 +0200] [Job 2] [10] = "image/gif" D [10/May/2007:13:37:29 +0200] [Job 2] [11] = "image/jpeg" D [10/May/2007:13:37:29 +0200] [Job 2] [12] = "image/png" D [10/May/2007:13:37:29 +0200] [Job 2] [13] = "image/tiff" D [10/May/2007:13:37:29 +0200] [Job 2] [14] = "image/x-bitmap" D [10/May/2007:13:37:29 +0200] [Job 2] [15] = "image/x-photocd" D [10/May/2007:13:37:29 +0200] [Job 2] [16] = "image/x-portable-anymap" D [10/May/2007:13:37:29 +0200] [Job 2] [17] = "image/x-portable-bitmap" D [10/May/2007:13:37:29 +0200] [Job 2] [18] = "image/x-portable-graymap" D [10/May/2007:13:37:29 +0200] [Job 2] [19] = "image/x-portable-pixmap" D [10/May/2007:13:37:29 +0200] [Job 2] [20] = "image/x-sgi-rgb" D [10/May/2007:13:37:29 +0200] [Job 2] [21] = "image/x-sun-raster" D [10/May/2007:13:37:29 +0200] [Job 2] [22] = "image/x-xbitmap" D [10/May/2007:13:37:29 +0200] [Job 2] [23] = "image/x-xpixmap" D [10/May/2007:13:37:29 +0200] [Job 2] [24] = "text/html" D [10/May/2007:13:37:29 +0200] [Job 2] [25] = "text/plain" D [10/May/2007:13:37:29 +0200] [Job 2] [26] = "" D [10/May/2007:13:37:29 +0200] [Job 2] printer-uri = "ipp://sauron:631/printers/ lj2430" D [10/May/2007:13:37:29 +0200] [Job 2] requesting-user-name = "oliver" D [10/May/2007:13:37:29 +0200] [Job 2] job-name = "Java Printing" I [10/May/2007:13:37:29 +0200] [Job 2] Print file accepted - job ID 14647. I [10/May/2007:13:37:29 +0200] [Job 2] Waiting for job to complete... d [10/May/2007:13:37:29 +0200] UpdateCUPSBrowse: (126 bytes from 192.168.0.222) 9016 4 ipp://sauron:631/printers/lj2430 "" "lj2430" "HP LaserJet 2430 Foomatic/h pijs" job-sheets=none,none lease-duration=300 d [10/May/2007:13:37:30 +0200] select_timeout: 11 seconds to process active jobs d [10/May/2007:13:37:30 +0200] UpdateCUPSBrowse: (126 bytes from 192.168.0.222) 9016 3 ipp://sauron:631/printers/lj2430 "" "lj2430" "HP LaserJet 2430 Foomatic/h pijs" job-sheets=none,none lease-duration=300 d [10/May/2007:13:37:31 +0200] select_timeout: 11 seconds to process active jobs d [10/May/2007:13:37:32 +0200] UpdateCUPSBrowse: (122 bytes from 192.168.0.80) 2 0006 3 ipp://as1:631/printers/lj2430 "" "Impressora en brut" "Local Raw Printer" job-sheets=none,none lease-duration=300 d [10/May/2007:13:37:33 +0200] select_timeout: 11 seconds to process active jobs d [10/May/2007:13:37:39 +0200] PID 5330 exited with no errors. D [10/May/2007:13:37:39 +0200] UpdateJob: job 2, file 0 is complete. d [10/May/2007:13:37:39 +0200] UpdateJob: Removing fd 8 from InputSet... D [10/May/2007:13:37:39 +0200] CancelJob: id = 2 D [10/May/2007:13:37:39 +0200] StopJob: id = 2, force = 0 D [10/May/2007:13:37:39 +0200] StopJob: printer state is 3 d [10/May/2007:13:37:39 +0200] StopJob: Freeing status buffer... d [10/May/2007:13:37:39 +0200] SaveJob: Closing file 8... d [10/May/2007:13:37:39 +0200] SaveJob: Closing file 8... As i see this topic is too off-topic I'll move it to the cups forum (I didn't knew it exists). Thanks to all for your support, it's good to see people helps each other! ------=_Part_77705_12782663.1178810957197 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

i also had the same problem with cups 1.2 its a problem with the new cups
defaults

more Here

http://www.cups.org/articles.php?L433+I0+TFAQ+M10+P1+Qjava

i think this is the reason for your problem.

wfg
MArio



 Mario, I've read the url above but I think it's not the problem because I'm using an old version of CUPS (cups 1.1.22.rc1.9.11) for enterprise restrictions.

Anyway reading the error log I see the job seems to be sent but the printer never receives it:
I [10/May/2007:13:37:29 +0200] Started backend /usr/lib/cups/backend/ipp (PID 53 30) for job 2.
d [10/May/2007:13:37:29 +0200] StartJob: Adding fd 8 to InputSet...
d [10/May/2007:13:37:29 +0200] add_job_state_reasons(0xb7ccf008[6], 2)
D [10/May/2007:13:37:29 +0200] ProcessIPPRequest: 6 status_code=0
d [10/May/2007:13:37:29 +0200] ProcessIPPRequest: Adding fd 6 to OutputSet...
d [10/May/2007:13:37:29 +0200] WriteClient: Removing fd 6 from OutputSet...
I [10/May/2007:13:37:29 +0200] [Job 2] Connecting to sauron on port 631...
d [10/May/2007:13:37:29 +0200] ReadClient: 6, used=0, file=-1
d [10/May/2007:13:37:29 +0200] ReadClient: httpGets returned EOF...
D [10/May/2007:13:37:29 +0200] CloseClient: 6
d [10/May/2007:13:37:29 +0200] CloseClient: Removing fd 6 from InputSet and Outp utSet...
I [10/May/2007:13:37:29 +0200] [Job 2] Connected to sauron...
D [10/May/2007:13:37:29 +0200] [Job 2] Getting supported attributes...
D [10/May/2007:13:37:29 +0200] [Job 2] document-format-supported (27 values)
D [10/May/2007:13:37:29 +0200] [Job 2] [0] = "application/octet-stream"
D [10/May/2007:13:37:29 +0200] [Job 2] [1] = "application/pdf"
D [10/May/2007:13:37:29 +0200] [Job 2] [2] = "application/postscript"
D [10/May/2007:13:37:29 +0200] [Job 2] [3] = "application/vnd.cups-postscript"
D [10/May/2007:13:37:29 +0200] [Job 2] [4] = "application/vnd.cups-raw"
D [10/May/2007:13:37:29 +0200] [Job 2] [5] = "application/vnd.hp-hpgl"
D [10/May/2007:13:37:29 +0200] [Job 2] [6] = "application/x-cshell"
D [10/May/2007:13:37:29 +0200] [Job 2] [7] = "application/x-csource"
D [10/May/2007:13:37:29 +0200] [Job 2] [8] = "application/x-perl"
D [10/May/2007:13:37:29 +0200] [Job 2] [9] = "application/x-shell"
D [10/May/2007:13:37:29 +0200] [Job 2] [10] = "image/gif"
D [10/May/2007:13:37:29 +0200] [Job 2] [11] = "image/jpeg"
D [10/May/2007:13:37:29 +0200] [Job 2] [12] = "image/png"
D [10/May/2007:13:37:29 +0200] [Job 2] [13] = "image/tiff"
D [10/May/2007:13:37:29 +0200] [Job 2] [14] = "image/x-bitmap"
D [10/May/2007:13:37:29 +0200] [Job 2] [15] = "image/x-photocd"
D [10/May/2007:13:37:29 +0200] [Job 2] [16] = "image/x-portable-anymap"
D [10/May/2007:13:37:29 +0200] [Job 2] [17] = "image/x-portable-bitmap"
D [10/May/2007:13:37:29 +0200] [Job 2] [18] = "image/x-portable-graymap"
D [10/May/2007:13:37:29 +0200] [Job 2] [19] = "image/x-portable-pixmap"
D [10/May/2007:13:37:29 +0200] [Job 2] [20] = "image/x-sgi-rgb"
D [10/May/2007:13:37:29 +0200] [Job 2] [21] = "image/x-sun-raster"
D [10/May/2007:13:37:29 +0200] [Job 2] [22] = "image/x-xbitmap"
D [10/May/2007:13:37:29 +0200] [Job 2] [23] = "image/x-xpixmap"
D [10/May/2007:13:37:29 +0200] [Job 2] [24] = "text/html"
D [10/May/2007:13:37:29 +0200] [Job 2] [25] = "text/plain"
D [10/May/2007:13:37:29 +0200] [Job 2] [26] = ""
D [10/May/2007:13:37:29 +0200] [Job 2] printer-uri = "ipp://sauron:631/printers/ lj2430"
D [10/May/2007:13:37:29 +0200] [Job 2] requesting-user-name = "oliver"
D [10/May/2007:13:37:29 +0200] [Job 2] job-name = "Java Printing"
I [10/May/2007:13:37:29 +0200] [Job 2] Print file accepted - job ID 14647.
I [10/May/2007:13:37:29 +0200] [Job 2] Waiting for job to complete...
d [10/May/2007:13:37:29 +0200] UpdateCUPSBrowse: (126 bytes from 192.168.0.222) 9016 4 ipp://sauron:631/printers/lj2430 "" "lj2430" "HP LaserJet 2430 Foomatic/h pijs" job-sheets=none,none lease-duration=300
d [10/May/2007:13:37:30 +0200] select_timeout: 11 seconds to process active jobs
d [10/May/2007:13:37:30 +0200] UpdateCUPSBrowse: (126 bytes from 192.168.0.222) 9016 3 ipp://sauron:631/printers/lj2430 "" "lj2430" "HP LaserJet 2430 Foomatic/h pijs" job-sheets=none,none lease-duration=300
d [10/May/2007:13:37:31 +0200] select_timeout: 11 seconds to process active jobs
d [10/May/2007:13:37:32 +0200] UpdateCUPSBrowse: (122 bytes from 192.168.0.80) 2 0006 3 ipp://as1:631/printers/lj2430 "" "Impressora en brut" "Local Raw Printer"  job-sheets=none,none lease-duration=300
d [10/May/2007:13:37:33 +0200] select_timeout: 11 seconds to process active jobs
d [10/May/2007:13:37:39 +0200] PID 5330 exited with no errors.
D [10/May/2007:13:37:39 +0200] UpdateJob: job 2, file 0 is complete.
d [10/May/2007:13:37:39 +0200] UpdateJob: Removing fd 8 from InputSet...
D [10/May/2007:13:37:39 +0200] CancelJob: id = 2
D [10/May/2007:13:37:39 +0200] StopJob: id = 2, force = 0
D [10/May/2007:13:37:39 +0200] StopJob: printer state is 3
d [10/May/2007:13:37:39 +0200] StopJob: Freeing status buffer...
d [10/May/2007:13:37:39 +0200] SaveJob: Closing file 8...
d [10/May/2007:13:37:39 +0200] SaveJob: Closing file 8...

As i see this topic is too off-topic I'll move it to the cups forum (I didn't knew it exists).
Thanks to all for your support, it's good to see people helps each other!

------=_Part_77705_12782663.1178810957197-- -- gentoo-java@gentoo.org mailing list