Re: [gentoo-user] Printing troubles
Hello, the logs were the right ones, but after some man reading I found out that there are two debug options, namely debug and debug2, the latter one proved to be the right choice, because it showed that Cups is missing a shared library that comes with Gimp print drivers. I emerged that and Voila! the printer is printing; tested with elinks, Opera and Kate. Thanks Daniel and Michael! JZidar - Original Message - From: "Daniel Drake" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, January 02, 2004 12:07 PM Subject: Re: [gentoo-user] Printing troubles > Hi, > > The logs you have shown do not show that you have tried to print anything. > Please confirm that this is the same file that you pasted from before, and > also that you have changed the LogLevel. > You should expect to find a hell of a lot of output in the logs when you print > something when loglevel=debug. > > Daniel. > > Jernej Zidar wrote: > > I've done what you told me, but the printer is still not printing in Cups > > (though if I pipe something to /dev/usb/lp0 it works; eg ls > -dev-usb-lp0). > > At the bottom I attach the output of error_log. Cups now also complains > > about the media tray being empty though it is not. In the system log I > > noticed a timeout error regarding the usb port. > > > > JZidar > > > > error_log.dat: > > D [02/Jan/2004:10:11:58 +0100] AcceptClient() 5 from localhost:631. > > D [02/Jan/2004:10:11:58 +0100] ReadClient() 5 GET / HTTP/1.1 > > D [02/Jan/2004:10:11:58 +0100] SendFile() 5 file=6 > > D [02/Jan/2004:10:12:00 +0100] ReadClient() 5 GET /jobs HTTP/1.1 > > D [02/Jan/2004:10:12:00 +0100] SendError() 5 code=401 > > D [02/Jan/2004:10:12:05 +0100] AcceptClient() 6 from localhost:631. > > D [02/Jan/2004:10:12:05 +0100] ReadClient() 6 GET /jobs HTTP/1.1 > > D [02/Jan/2004:10:12:05 +0100] CGI /usr/lib/cups/cgi-bin/jobs.cgi started - > > PID = 1729 > > I [02/Jan/2004:10:12:05 +0100] Started "/usr/lib/cups/cgi-bin/jobs.cgi" > > (pid=1729) > > D [02/Jan/2004:10:12:05 +0100] SendCommand() 6 file=9 > > D [02/Jan/2004:10:12:05 +0100] AcceptClient() 8 from localhost:631. > > D [02/Jan/2004:10:12:05 +0100] ReadClient() 8 POST / HTTP/1.1 > > D [02/Jan/2004:10:12:05 +0100] ProcessIPPRequest: 8 status_code=0 > > D [02/Jan/2004:10:12:05 +0100] CloseClient() 8 > > D [02/Jan/2004:10:12:05 +0100] AcceptClient() 8 from localhost:631. > > D [02/Jan/2004:10:12:05 +0100] ReadClient() 8 GET /images/show-completed.gif > > HTTP/1.1 > > D [02/Jan/2004:10:12:05 +0100] SendFile() 8 file=9 > > D [02/Jan/2004:10:12:07 +0100] CloseClient() 6 > > D [02/Jan/2004:10:12:07 +0100] AcceptClient() 6 from localhost:631. > > D [02/Jan/2004:10:12:07 +0100] ReadClient() 6 GET /printers HTTP/1.1 > > D [02/Jan/2004:10:12:07 +0100] CGI /usr/lib/cups/cgi-bin/printers.cgi > > started - PID = 1730 > > I [02/Jan/2004:10:12:07 +0100] Started "/usr/lib/cups/cgi-bin/printers.cgi" > > (pid=1730) > > D [02/Jan/2004:10:12:07 +0100] SendCommand() 6 file=10 > > D [02/Jan/2004:10:12:07 +0100] AcceptClient() 9 from localhost:631. > > D [02/Jan/2004:10:12:07 +0100] ReadClient() 9 POST / HTTP/1.1 > > D [02/Jan/2004:10:12:07 +0100] ProcessIPPRequest: 9 status_code=0 > > D [02/Jan/2004:10:12:07 +0100] ReadClient() 9 POST / HTTP/1.1 > > D [02/Jan/2004:10:12:08 +0100] ProcessIPPRequest: 9 status_code=1 > > D [02/Jan/2004:10:12:08 +0100] CloseClient() 9 > > D [02/Jan/2004:10:12:31 +0100] Closing client 5 after 300 seconds of > > inactivity... > > D [02/Jan/2004:10:12:31 +0100] CloseClient() 5 > > D [02/Jan/2004:10:12:52 +0100] CloseClient() 6 > > D [02/Jan/2004:10:12:52 +0100] CloseClient() 8 > > > > > > - Original Message - > > From: "Daniel Drake" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Cc: <[EMAIL PROTECTED]> > > Sent: Thursday, January 01, 2004 6:05 PM > > Subject: Re: [gentoo-user] Printing troubles > > > > > > > >>>I [01/Jan/2004:16:47:05 +0100] Hint: Try setting the LogLevel to "debug" > > > > to find > > > >>>out more. > >> > >>You should do that for a start. The setting is found in > > > > /etc/cups/cupsd.conf > > > >>Reload cups, print again, and examine the logs again. > >> > >>Daniel > >> > > > > > > > > -- > > [EMAIL PROTECTED] mailing list > > > > > -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Printing troubles
Happy new year everybody, Am Donnerstag, 1. Januar 2004 16:55 schrieb Nejko Zidarjev: > Hi! I hoped that I've solved the printing issue in Gentoo but I was wrong. > Here it goes: using the Gentoo printing guide I installed Cups and my > printer (HP Deskjet 656c), including hpijs. The printer is not printing. If > I try to print the Cups' test page I get this error: > I [01/Jan/2004:16:41:01 +0100] Started "/usr/lib/cups/cgi-bin/printers.cgi" > (pid=1901) > I [01/Jan/2004:16:47:05 +0100] Started "/usr/lib/cups/cgi-bin/printers.cgi" > (pid=2045) > I [01/Jan/2004:16:47:05 +0100] Adding start banner page "none" to job 3. > I [01/Jan/2004:16:47:05 +0100] Adding end banner page "none" to job 3. > I [01/Jan/2004:16:47:05 +0100] Job 3 queued on 'HP' by 'root'. > I [01/Jan/2004:16:47:05 +0100] Started filter /usr/lib/cups/filter/pstops > (PID 2046) for job 3. > I [01/Jan/2004:16:47:05 +0100] Started filter > /usr/lib/cups/filter/foomatic-rip (PID 2047) for job 3. > I [01/Jan/2004:16:47:05 +0100] Started backend /usr/lib/cups/backend/usb > (PID 2048) for job 3. > E [01/Jan/2004:16:47:05 +0100] PID 2047 stopped with status 1! > I [01/Jan/2004:16:47:05 +0100] Hint: Try setting the LogLevel to "debug" to > find out more. > The modules that required are loaded (usbcore, printer). I noticed that the > device URI in Cups points to: /dev/usb/lp0, which does not exist in the > /dev/usb map. > What's not working? Can you advise me please? > Thanks for the help, > JZidar I'm not sure, but I think I had this problem, when foomatic-rip did not exist on my computer (which is the process failing here PID2047). It belongs to net-print/foomatic-filters. On my system it looks like this: [EMAIL PROTECTED] sb $ ls -la /usr/lib/cups/filter/foomatic-rip lrwxrwxrwx1 root root 21 2003-10-21 12:52 /usr/lib/cups/filter/foomatic-rip -> /usr/bin/foomatic-rip [EMAIL PROTECTED] sb $ ls -la /usr/bin/foomatic-rip -rwxr-xr-x1 root root 190609 2003-10-21 12:52 /usr/bin/foomatic-rip Maybe (re-)emerging it helps. HTH, Michael -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Printing troubles
Hi, The logs you have shown do not show that you have tried to print anything. Please confirm that this is the same file that you pasted from before, and also that you have changed the LogLevel. You should expect to find a hell of a lot of output in the logs when you print something when loglevel=debug. Daniel. Jernej Zidar wrote: I've done what you told me, but the printer is still not printing in Cups (though if I pipe something to /dev/usb/lp0 it works; eg ls > -dev-usb-lp0). At the bottom I attach the output of error_log. Cups now also complains about the media tray being empty though it is not. In the system log I noticed a timeout error regarding the usb port. JZidar error_log.dat: D [02/Jan/2004:10:11:58 +0100] AcceptClient() 5 from localhost:631. D [02/Jan/2004:10:11:58 +0100] ReadClient() 5 GET / HTTP/1.1 D [02/Jan/2004:10:11:58 +0100] SendFile() 5 file=6 D [02/Jan/2004:10:12:00 +0100] ReadClient() 5 GET /jobs HTTP/1.1 D [02/Jan/2004:10:12:00 +0100] SendError() 5 code=401 D [02/Jan/2004:10:12:05 +0100] AcceptClient() 6 from localhost:631. D [02/Jan/2004:10:12:05 +0100] ReadClient() 6 GET /jobs HTTP/1.1 D [02/Jan/2004:10:12:05 +0100] CGI /usr/lib/cups/cgi-bin/jobs.cgi started - PID = 1729 I [02/Jan/2004:10:12:05 +0100] Started "/usr/lib/cups/cgi-bin/jobs.cgi" (pid=1729) D [02/Jan/2004:10:12:05 +0100] SendCommand() 6 file=9 D [02/Jan/2004:10:12:05 +0100] AcceptClient() 8 from localhost:631. D [02/Jan/2004:10:12:05 +0100] ReadClient() 8 POST / HTTP/1.1 D [02/Jan/2004:10:12:05 +0100] ProcessIPPRequest: 8 status_code=0 D [02/Jan/2004:10:12:05 +0100] CloseClient() 8 D [02/Jan/2004:10:12:05 +0100] AcceptClient() 8 from localhost:631. D [02/Jan/2004:10:12:05 +0100] ReadClient() 8 GET /images/show-completed.gif HTTP/1.1 D [02/Jan/2004:10:12:05 +0100] SendFile() 8 file=9 D [02/Jan/2004:10:12:07 +0100] CloseClient() 6 D [02/Jan/2004:10:12:07 +0100] AcceptClient() 6 from localhost:631. D [02/Jan/2004:10:12:07 +0100] ReadClient() 6 GET /printers HTTP/1.1 D [02/Jan/2004:10:12:07 +0100] CGI /usr/lib/cups/cgi-bin/printers.cgi started - PID = 1730 I [02/Jan/2004:10:12:07 +0100] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=1730) D [02/Jan/2004:10:12:07 +0100] SendCommand() 6 file=10 D [02/Jan/2004:10:12:07 +0100] AcceptClient() 9 from localhost:631. D [02/Jan/2004:10:12:07 +0100] ReadClient() 9 POST / HTTP/1.1 D [02/Jan/2004:10:12:07 +0100] ProcessIPPRequest: 9 status_code=0 D [02/Jan/2004:10:12:07 +0100] ReadClient() 9 POST / HTTP/1.1 D [02/Jan/2004:10:12:08 +0100] ProcessIPPRequest: 9 status_code=1 D [02/Jan/2004:10:12:08 +0100] CloseClient() 9 D [02/Jan/2004:10:12:31 +0100] Closing client 5 after 300 seconds of inactivity... D [02/Jan/2004:10:12:31 +0100] CloseClient() 5 D [02/Jan/2004:10:12:52 +0100] CloseClient() 6 D [02/Jan/2004:10:12:52 +0100] CloseClient() 8 - Original Message - From: "Daniel Drake" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, January 01, 2004 6:05 PM Subject: Re: [gentoo-user] Printing troubles I [01/Jan/2004:16:47:05 +0100] Hint: Try setting the LogLevel to "debug" to find out more. You should do that for a start. The setting is found in /etc/cups/cupsd.conf Reload cups, print again, and examine the logs again. Daniel -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Printing troubles
I've done what you told me, but the printer is still not printing in Cups (though if I pipe something to /dev/usb/lp0 it works; eg ls > -dev-usb-lp0). At the bottom I attach the output of error_log. Cups now also complains about the media tray being empty though it is not. In the system log I noticed a timeout error regarding the usb port. JZidar error_log.dat: D [02/Jan/2004:10:11:58 +0100] AcceptClient() 5 from localhost:631. D [02/Jan/2004:10:11:58 +0100] ReadClient() 5 GET / HTTP/1.1 D [02/Jan/2004:10:11:58 +0100] SendFile() 5 file=6 D [02/Jan/2004:10:12:00 +0100] ReadClient() 5 GET /jobs HTTP/1.1 D [02/Jan/2004:10:12:00 +0100] SendError() 5 code=401 D [02/Jan/2004:10:12:05 +0100] AcceptClient() 6 from localhost:631. D [02/Jan/2004:10:12:05 +0100] ReadClient() 6 GET /jobs HTTP/1.1 D [02/Jan/2004:10:12:05 +0100] CGI /usr/lib/cups/cgi-bin/jobs.cgi started - PID = 1729 I [02/Jan/2004:10:12:05 +0100] Started "/usr/lib/cups/cgi-bin/jobs.cgi" (pid=1729) D [02/Jan/2004:10:12:05 +0100] SendCommand() 6 file=9 D [02/Jan/2004:10:12:05 +0100] AcceptClient() 8 from localhost:631. D [02/Jan/2004:10:12:05 +0100] ReadClient() 8 POST / HTTP/1.1 D [02/Jan/2004:10:12:05 +0100] ProcessIPPRequest: 8 status_code=0 D [02/Jan/2004:10:12:05 +0100] CloseClient() 8 D [02/Jan/2004:10:12:05 +0100] AcceptClient() 8 from localhost:631. D [02/Jan/2004:10:12:05 +0100] ReadClient() 8 GET /images/show-completed.gif HTTP/1.1 D [02/Jan/2004:10:12:05 +0100] SendFile() 8 file=9 D [02/Jan/2004:10:12:07 +0100] CloseClient() 6 D [02/Jan/2004:10:12:07 +0100] AcceptClient() 6 from localhost:631. D [02/Jan/2004:10:12:07 +0100] ReadClient() 6 GET /printers HTTP/1.1 D [02/Jan/2004:10:12:07 +0100] CGI /usr/lib/cups/cgi-bin/printers.cgi started - PID = 1730 I [02/Jan/2004:10:12:07 +0100] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=1730) D [02/Jan/2004:10:12:07 +0100] SendCommand() 6 file=10 D [02/Jan/2004:10:12:07 +0100] AcceptClient() 9 from localhost:631. D [02/Jan/2004:10:12:07 +0100] ReadClient() 9 POST / HTTP/1.1 D [02/Jan/2004:10:12:07 +0100] ProcessIPPRequest: 9 status_code=0 D [02/Jan/2004:10:12:07 +0100] ReadClient() 9 POST / HTTP/1.1 D [02/Jan/2004:10:12:08 +0100] ProcessIPPRequest: 9 status_code=1 D [02/Jan/2004:10:12:08 +0100] CloseClient() 9 D [02/Jan/2004:10:12:31 +0100] Closing client 5 after 300 seconds of inactivity... D [02/Jan/2004:10:12:31 +0100] CloseClient() 5 D [02/Jan/2004:10:12:52 +0100] CloseClient() 6 D [02/Jan/2004:10:12:52 +0100] CloseClient() 8 - Original Message - From: "Daniel Drake" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, January 01, 2004 6:05 PM Subject: Re: [gentoo-user] Printing troubles > > I [01/Jan/2004:16:47:05 +0100] Hint: Try setting the LogLevel to "debug" to find > > out more. > > You should do that for a start. The setting is found in /etc/cups/cupsd.conf > Reload cups, print again, and examine the logs again. > > Daniel > -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Printing troubles
I [01/Jan/2004:16:47:05 +0100] Hint: Try setting the LogLevel to "debug" to find out more. You should do that for a start. The setting is found in /etc/cups/cupsd.conf Reload cups, print again, and examine the logs again. Daniel -- [EMAIL PROTECTED] mailing list
[gentoo-user] Printing troubles
Hi! I hoped that I've solved the printing issue in Gentoo but I was wrong. Here it goes: using the Gentoo printing guide I installed Cups and my printer (HP Deskjet 656c), including hpijs. The printer is not printing. If I try to print the Cups' test page I get this error: I [01/Jan/2004:16:41:01 +0100] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=1901) I [01/Jan/2004:16:47:05 +0100] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=2045) I [01/Jan/2004:16:47:05 +0100] Adding start banner page "none" to job 3. I [01/Jan/2004:16:47:05 +0100] Adding end banner page "none" to job 3. I [01/Jan/2004:16:47:05 +0100] Job 3 queued on 'HP' by 'root'. I [01/Jan/2004:16:47:05 +0100] Started filter /usr/lib/cups/filter/pstops (PID 2046) for job 3. I [01/Jan/2004:16:47:05 +0100] Started filter /usr/lib/cups/filter/foomatic-rip (PID 2047) for job 3. I [01/Jan/2004:16:47:05 +0100] Started backend /usr/lib/cups/backend/usb (PID 2048) for job 3. E [01/Jan/2004:16:47:05 +0100] PID 2047 stopped with status 1! I [01/Jan/2004:16:47:05 +0100] Hint: Try setting the LogLevel to "debug" to find out more. The modules that required are loaded (usbcore, printer). I noticed that the device URI in Cups points to: /dev/usb/lp0, which does not exist in the /dev/usb map. What's not working? Can you advise me please? Thanks for the help, JZidar http://www.email.si/ -- [EMAIL PROTECTED] mailing list