Re: [opensuse] Lost printing
Hello, On Dec 19 22:22 Rikard Johnels wrote (shortened): On Tuesday 19 December 2006 11:00, Johannes Meixner wrote: On Dec 18 18:25 Rikard Johnels wrote (shortened): All i get (In every case) is bad request. lpr -H 192.168.1.16:631 -P Lj4 -J test.printing olyckan lpr: Bad Request lp -h 192.168.1.16:631 -d Lj4 -t test.printing olyckan lp: Bad Request I know about this problem which happens only occasionally when a CUPS 1.2 client sends jobs to a CUPS 1.1 server but usually the same command works after some retries which makes it very difficult to find the actual reason. If you like to debug, see http://en.opensuse.org/SDB:CUPS_in_a_Nutshell If problems are encountered Perhaps you are lucky and you get a meaningful error message in /var/log/cups/error_log on the CUPS server (i.e. on 192.168.1.16). ... Client: rpm -qa cups cups-1.2.0-0.1 We never provided CUPS version 1.2.0 officially. ftp://ftp.suse.com/pub/people/kssingvo/unsupported/CUPS/ is only for testing, note the unsupported and see ftp://ftp.suse.com/pub/people/kssingvo/unsupported/CUPS/README.txt -- The cups-1.2.0 release is still problematic ... Install at own risk! ... Be aware! (Installation) support is lost, if any of these packages becomes installed. -- openSUSE 10.2 is our first product where we have CUPS 1.2 and here we have CUPS version 1.2.7. There have been tons of bug fixes in CUPS 1.2, see http://www.cups.org/relnotes.php In particular note the entry about Increased the HTTP and IPP read timeouts and the matching software trouble report http://www.cups.org/str.php?L1719 which might be the actual cause of this problem (or at least related to the problem). Only if the problem persists with CUPS version 1.2.7, we are interested in further debugging (in particular because for me the problem happened while I used the above mentioned test version 1.2.0 but it did not happen again since I use openSUSE 10.2) and we will not debug a CUPS version which we never had in our products. Server: cups-1.1.23-21 So that might be the cause.. Erroro log on .16: (Server) ... E [17/Dec/2006:03:08:30 +0100] ReadClient: 5 IPP Read Error! E [17/Dec/2006:03:33:23 +0100] ReadClient: 6 IPP Read Error! E [18/Dec/2006:18:17:53 +0100] ReadClient: 5 IPP Read Error! E [18/Dec/2006:18:18:51 +0100] ReadClient: 5 IPP Read Error! E [18/Dec/2006:18:19:04 +0100] ReadClient: 5 IPP Read Error! E [18/Dec/2006:18:19:25 +0100] ReadClient: 5 IPP Read Error! E [18/Dec/2006:18:20:58 +0100] ReadClient: 5 IPP Read Error! I [18/Dec/2006:18:28:49 +0100] Adding start banner page none to job 3. I [18/Dec/2006:18:28:49 +0100] Adding end banner page none to job 3. I [18/Dec/2006:18:28:49 +0100] Job 3 queued on 'Lj4' by 'root'. I [18/Dec/2006:18:28:49 +0100] Started filter /usr/lib/cups/filter/texttops (PID 5183) for job 3. I [18/Dec/2006:18:28:49 +0100] Started filter /usr/lib/cups/filter/pstops (PID 5184) for job 3. I [18/Dec/2006:18:28:49 +0100] Started filter /usr/lib/cups/filter/foomatic-rip (PID 5185) for job 3. I [18/Dec/2006:18:28:49 +0100] Started backend /usr/lib/cups/backend/parallel (PID 5186) for job 3. As you did not write what you did while those messages appear in eror_log I can only guess that after several failed attempts (which result IPP Read Error), the same command finally worked and leads to job 3 which is exactly my experience. The IPP Read Error alone does not help to find the actual reason. Note what I wrote you and see http://en.opensuse.org/SDB:CUPS_in_a_Nutshell If problems are encountered how to get more useful information for debugging. In this particular case check if even LogLevel debug2 may be required in this particular case to get some meaningful debug information and note that the debug information for exactly one failed attempt is sufficient. Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5 Mail: [EMAIL PROTECTED] 90409 Nuernberg, GermanyWWW: http://www.suse.de/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] Lost printing
Hello, On Dec 18 18:25 Rikard Johnels wrote (shortened): All i get (In every case) is bad request. lpr -H 192.168.1.16:631 -P Lj4 -J test.printing olyckan lpr: Bad Request lp -h 192.168.1.16:631 -d Lj4 -t test.printing olyckan lp: Bad Request I know about this problem which happens only occasionally when a CUPS 1.2 client sends jobs to a CUPS 1.1 server but usually the same command works after some retries which makes it very difficult to find the actual reason. If you like to debug, see http://en.opensuse.org/SDB:CUPS_in_a_Nutshell If problems are encountered Perhaps you are lucky and you get a meaningful error message in /var/log/cups/error_log on the CUPS server (i.e. on 192.168.1.16). Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5 Mail: [EMAIL PROTECTED] 90409 Nuernberg, GermanyWWW: http://www.suse.de/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] Lost printing
On Tuesday 19 December 2006 11:00, Johannes Meixner wrote: Hello, On Dec 18 18:25 Rikard Johnels wrote (shortened): All i get (In every case) is bad request. lpr -H 192.168.1.16:631 -P Lj4 -J test.printing olyckan lpr: Bad Request lp -h 192.168.1.16:631 -d Lj4 -t test.printing olyckan lp: Bad Request I know about this problem which happens only occasionally when a CUPS 1.2 client sends jobs to a CUPS 1.1 server but usually the same command works after some retries which makes it very difficult to find the actual reason. If you like to debug, see http://en.opensuse.org/SDB:CUPS_in_a_Nutshell If problems are encountered Perhaps you are lucky and you get a meaningful error message in /var/log/cups/error_log on the CUPS server (i.e. on 192.168.1.16). Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5 Mail: [EMAIL PROTECTED] 90409 Nuernberg, GermanyWWW: http://www.suse.de/ Client: rpm -qa cups cups-1.2.0-0.1 Server: cups-1.1.23-21 So that might be the cause.. Erroro log on .16: (Server) I [17/Dec/2006:02:19:00 +0100] LoadPPDs: No new or changed PPDs... I [17/Dec/2006:02:19:00 +0100] Full reload complete. I [17/Dec/2006:02:19:11 +0100] Scheduler shutting down normally. I [17/Dec/2006:02:21:53 +0100] Listening to 0:631 I [17/Dec/2006:02:21:54 +0100] Loaded configuration file /etc/cups/cupsd.conf I [17/Dec/2006:02:21:54 +0100] Configured for up to 100 clients. I [17/Dec/2006:02:21:54 +0100] Allowing up to 100 client connections per host. I [17/Dec/2006:02:21:54 +0100] Full reload is required. I [17/Dec/2006:02:21:58 +0100] LoadPPDs: Read /etc/cups/ppds.dat, 3343 PPDs... I [17/Dec/2006:02:22:14 +0100] LoadPPDs: No new or changed PPDs... I [17/Dec/2006:02:22:14 +0100] Full reload complete. E [17/Dec/2006:02:24:33 +0100] print_job: resource name '/printers/unexistent' no good! E [17/Dec/2006:02:51:09 +0100] ProcessIPPRequest: missing printer-uri or job-uri attribute! I [17/Dec/2006:02:52:09 +0100] Adding start banner page none to job 1. I [17/Dec/2006:02:52:09 +0100] Adding end banner page none to job 1. I [17/Dec/2006:02:52:09 +0100] Job 1 queued on 'Lj4' by 'rikjoh'. I [17/Dec/2006:02:52:09 +0100] Started backend /usr/lib/cups/backend/parallel (PID 5375) for job 1. I [17/Dec/2006:02:57:48 +0100] Adding start banner page none to job 2. I [17/Dec/2006:02:57:48 +0100] Adding end banner page none to job 2. I [17/Dec/2006:02:57:48 +0100] Job 2 queued on 'Lj4' by 'Catrin'. I [17/Dec/2006:02:57:48 +0100] Started backend /usr/lib/cups/backend/parallel (PID 5447) for job 2. E [17/Dec/2006:03:08:30 +0100] ReadClient: 5 IPP Read Error! E [17/Dec/2006:03:33:23 +0100] ReadClient: 6 IPP Read Error! E [18/Dec/2006:18:17:53 +0100] ReadClient: 5 IPP Read Error! E [18/Dec/2006:18:18:51 +0100] ReadClient: 5 IPP Read Error! E [18/Dec/2006:18:19:04 +0100] ReadClient: 5 IPP Read Error! E [18/Dec/2006:18:19:25 +0100] ReadClient: 5 IPP Read Error! E [18/Dec/2006:18:20:58 +0100] ReadClient: 5 IPP Read Error! I [18/Dec/2006:18:28:49 +0100] Adding start banner page none to job 3. I [18/Dec/2006:18:28:49 +0100] Adding end banner page none to job 3. I [18/Dec/2006:18:28:49 +0100] Job 3 queued on 'Lj4' by 'root'. I [18/Dec/2006:18:28:49 +0100] Started filter /usr/lib/cups/filter/texttops (PID 5183) for job 3. I [18/Dec/2006:18:28:49 +0100] Started filter /usr/lib/cups/filter/pstops (PID 5184) for job 3. I [18/Dec/2006:18:28:49 +0100] Started filter /usr/lib/cups/filter/foomatic-rip (PID 5185) for job 3. I [18/Dec/2006:18:28:49 +0100] Started backend /usr/lib/cups/backend/parallel (PID 5186) for job 3. -- /Rikard - email : [EMAIL PROTECTED] web : http://www.rikjoh.com mob:: +46 (0)763 19 76 25 Public PGP fingerprint 15 28 DF 78 67 98 B2 16 1F D3 FD C5 59 D4 B6 78 46 1C EE 56 pgp59httXSJGf.pgp Description: PGP signature
Re: [opensuse] Lost printing
Hello, On Dec 17 03:40 Rikard Johnels wrote (shortened): cupsdoprint -P 'Lj4' -J 'rename.script' -H '192.168.1.16:631' -o ' 4L, CUPS+Gimp-Print LaserJet copies=1 cups multiple-document-handling=separate-documents-collated-copies on orientation-requested=3 printer-make-and-model=HP printer-state-change-time=1164216569 printer-type=4102 v4.2.5' '/tmp/kde-rikjoh/kdeprint_xmcdWRCb' : execution failed with message: client-error-bad-request cupsdoprint is part of KDE. I cannot help you regarding KDE. The option setting looks totally broken at least it is broken for CUPS which may lead to the client-error-bad-request but I don't know if it might be o.k. for cupsdoprint: -o ' 4L, CUPS+Gimp-Print LaserJet copies=1 cups multiple-document-handling=separate-documents-collated-copies on orientation-requested=3 printer-make-and-model=HP printer-state-change-time=1164216569 printer-type=4102 v4.2.5' Try to print via CUPS command line, e.g.: lpr -H 192.168.1.16:631 -P Lj4 -J rename.script filename or lp -h 192.168.1.16:631 -d Lj4 -t rename.script filename As a workaround you might be able to specify a print command in KDE like lpr -H 192.168.1.16:631 -P Lj4 or lp -h 192.168.1.16:631 -d Lj4 or kprinter or kprinter --stdin Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5 Mail: [EMAIL PROTECTED] 90409 Nuernberg, GermanyWWW: http://www.suse.de/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] Lost printing
On Monday 18 December 2006 11:40, Johannes Meixner wrote: Hello, On Dec 17 03:40 Rikard Johnels wrote (shortened): cupsdoprint -P 'Lj4' -J 'rename.script' -H '192.168.1.16:631' -o ' 4L, CUPS+Gimp-Print LaserJet copies=1 cups multiple-document-handling=separate-documents-collated-copies on orientation-requested=3 printer-make-and-model=HP printer-state-change-time=1164216569 printer-type=4102 v4.2.5' '/tmp/kde-rikjoh/kdeprint_xmcdWRCb' : execution failed with message: client-error-bad-request cupsdoprint is part of KDE. I cannot help you regarding KDE. The option setting looks totally broken at least it is broken for CUPS which may lead to the client-error-bad-request but I don't know if it might be o.k. for cupsdoprint: -o ' 4L, CUPS+Gimp-Print LaserJet copies=1 cups multiple-document-handling=separate-documents-collated-copies on orientation-requested=3 printer-make-and-model=HP printer-state-change-time=1164216569 printer-type=4102 v4.2.5' Try to print via CUPS command line, e.g.: lpr -H 192.168.1.16:631 -P Lj4 -J rename.script filename or lp -h 192.168.1.16:631 -d Lj4 -t rename.script filename As a workaround you might be able to specify a print command in KDE like lpr -H 192.168.1.16:631 -P Lj4 or lp -h 192.168.1.16:631 -d Lj4 or kprinter or kprinter --stdin Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5 Mail: [EMAIL PROTECTED] 90409 Nuernberg, GermanyWWW: http://www.suse.de/ All i get (In every case) is bad request. lpr -H 192.168.1.16:631 -P Lj4 -J test.printing olyckan lpr: Bad Request lp -h 192.168.1.16:631 -d Lj4 -t test.printing olyckan lp: Bad Request Where to go from here? -- /Rikard - email : [EMAIL PROTECTED] web : http://www.rikjoh.com mob:: +46 (0)763 19 76 25 Public PGP fingerprint 15 28 DF 78 67 98 B2 16 1F D3 FD C5 59 D4 B6 78 46 1C EE 56 pgpDZ1y74B3u3.pgp Description: PGP signature
[opensuse] Lost printing
I have all oversudden lost printing. I get errors like the following as i try to do almost anything; cupsdoprint -P 'Lj4' -J 'rename.script' -H '192.168.1.16:631' -o ' 4L, CUPS+Gimp-Print LaserJet copies=1 cups multiple-document-handling=separate-documents-collated-copies on orientation-requested=3 printer-make-and-model=HP printer-state-change-time=1164216569 printer-type=4102 v4.2.5' '/tmp/kde-rikjoh/kdeprint_xmcdWRCb' : execution failed with message: client-error-bad-request I dont know what i did wrong or where.. Cups server: 9.0 based, which worked perfectly both for Linux and Windows until Linux printing broke down. I then tried a new fresh 10.0 based Cups server, Still same thing. It works as expected for windows. but nothing for Linux Client: 10.0 with a few online updates What shall i check for? And where? The doc's for Cups haven't told me anything that helps... (Or maybe i ain't seeing it) -- /Rikard - email : [EMAIL PROTECTED] web : http://www.rikjoh.com mob:: +46 (0)763 19 76 25 Public PGP fingerprint 15 28 DF 78 67 98 B2 16 1F D3 FD C5 59 D4 B6 78 46 1C EE 56 pgpuVXM4vIy0n.pgp Description: PGP signature