Re: Printer setup problem in Etch
On Tue, Oct 02, 2007 at 11:01:00PM -0400, Bob C wrote: I checked my bios setup and under Parellel Port Mode found four choices. Normal, Bi-directional, EPP and ECP. I experienced the printer problem with the bios set to ECP. When I choose Normal, the printer now works. Normal is uni-directional. ECP and EPP are both bidirectional. I don't know if your print spooler would prefer bidirectional, in which case try EPP. Doug. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Printer setup problem in Etch
On Sun, Mar 11, 2007 at 08:31:16PM -0400, Bob C wrote: I am having a difficult time getting my printer to work on Etch with CUPS 1.2.7. When I print a page from Openoffice the printer responds, but prints a line of meaningless symbols. I had hoped that doing regular updates on my system, which is now Lenny, would eventually solve the problem, but it still would not print until today. I finally found how to fix the problem after reading this report of Bug #38805 in Debian. They found the parallel port settings in the bios were involved in the problem. https://bugs.launchpad.net/debian/+bug/38805 I checked my bios setup and under Parellel Port Mode found four choices. Normal, Bi-directional, EPP and ECP. I experienced the printer problem with the bios set to ECP. When I choose Normal, the printer now works. Bob C -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Re: Re: Printer setup problem in Etch
Roberto C. Sanchez wrote: Just to be clear, printing from OOo works but the test page does not? Yes that is what I got again this morning after rebooting the system. When I click on Print Test Page under my printer settings in the CUPS utility, I get the message Quota limit reached. The printer doesn't respond at all. Here's what the three log files give afterwards; c2d:/# tail -f /var/log/cups/access_log localhost - - [12/Mar/2007:08:21:48 -0400] POST / HTTP/1.1 200 350 CUPS-Get-Classes successful-ok localhost - - [12/Mar/2007:08:23:42 -0400] GET /printers/ HTTP/1.1 200 0 - - localhost - - [12/Mar/2007:08:23:42 -0400] GET /printers/ HTTP/1.1 200 6538 - - localhost - - [12/Mar/2007:08:23:53 -0400] GET /printers/deskjet500?op=print-test-page HTTP/1.1 200 0 - - localhost - - [12/Mar/2007:08:23:53 -0400] POST /printers/deskjet500 HTTP/1.1 200 18607 Print-Job client-error-not-possiblelocalhost - - [12/Mar/2007:08:23:53 -0400] GET /printers/deskjet500?op=print-test-page HTTP/1.1 200 3371 - - c2d:/# tail -f /var/log/cups/error_log (no messages) c2d:/# tail -f /var/log/cups/page_log (no messages) When I print from OOo, the printer prints one line of symbols which repeats page after page. I ended by resetting the printer. The error messages are: c2d:/# tail -f /var/log/cups/access_log localhost - - [12/Mar/2007:08:35:55 -0400] GET /ppd/deskjet500.ppd HTTP/1.1 200 26714 - - localhost - - [12/Mar/2007:08:35:58 -0400] POST /printers/deskjet500 HTTP/1.1 200 18951 Print-Job successful-ok c2d:/# tail -f /var/log/cups/error_log (no messages) c2d:/# tail -f /var/log/cups/page_log (no messages) At least the problem is consisten after the reboot Bob -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Printer setup problem in Etch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 12 Mar 2007 08:45:07 -0400 Bob C [EMAIL PROTECTED] wrote: Roberto C. Sanchez wrote: Just to be clear, printing from OOo works but the test page does not? Yes that is what I got again this morning after rebooting the system. When I click on Print Test Page under my printer settings in the CUPS utility, I get the message Quota limit reached. The printer doesn't respond at all. Here's what the three log files give afterwards; c2d:/# tail -f /var/log/cups/access_log localhost - - [12/Mar/2007:08:21:48 -0400] POST / HTTP/1.1 200 350 CUPS-Get-Classes successful-ok localhost - - [12/Mar/2007:08:23:42 -0400] GET /printers/ HTTP/1.1 200 0 - - localhost - - [12/Mar/2007:08:23:42 -0400] GET /printers/ HTTP/1.1 200 6538 - - localhost - - [12/Mar/2007:08:23:53 -0400] GET /printers/deskjet500?op=print-test-page HTTP/1.1 200 0 - - localhost - - [12/Mar/2007:08:23:53 -0400] POST /printers/deskjet500 HTTP/1.1 200 18607 Print-Job client-error-not-possiblelocalhost - - [12/Mar/2007:08:23:53 -0400] GET /printers/deskjet500?op=print-test-page HTTP/1.1 200 3371 - - c2d:/# tail -f /var/log/cups/error_log (no messages) c2d:/# tail -f /var/log/cups/page_log (no messages) When I print from OOo, the printer prints one line of symbols which repeats page after page. I ended by resetting the printer. The error messages are: c2d:/# tail -f /var/log/cups/access_log localhost - - [12/Mar/2007:08:35:55 -0400] GET /ppd/deskjet500.ppd HTTP/1.1 200 26714 - - localhost - - [12/Mar/2007:08:35:58 -0400] POST /printers/deskjet500 HTTP/1.1 200 18951 Print-Job successful-ok c2d:/# tail -f /var/log/cups/error_log (no messages) c2d:/# tail -f /var/log/cups/page_log (no messages) At least the problem is consisten after the reboot Bob - From the cups manual, this has the keyword quota. QuotaPeriod Examples Printer name ... QuotaPeriod 604800 /Printer Description The QuotaPeriod directive defines the value of the job-quota-period attribute. Typical values are 86400 (1 day), 604800 (1 week), 2592000 (1 month), and 31536000 (1 year). It is set using the lpadmin(8) command: /usr/sbin/lpadmin -p printername -o job-quota-period=604800 This directive must appear inside a Printer or DefaultPrinter - -- Greg Madden -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFF9WFkaefA3q8KcpARAof0AJ4sh5OTSlumE0UWti+UXK8dEAsD5wCggCI9 jiG93pCBfu4mJ/vTVKwJI+8= =wTCM -END PGP SIGNATURE-
Re: Printer setup problem in Etch
Hi Roberto, Roberto C. Sanchez wrote: There could always be some sort of bug. What does it say in /var/log/cups/{access_log,error_log,page_log} when you try and print? When I looked at the CUPS log files earlier today, I did not have debugging enabled, in the file /etc/cups/cupsd.conf. I changed the line LogLevel warning to LogLevel debug as described in the site below, and when I try to print there is much more information sent to the error_log file. http://www.linux-foundation.org/en/OpenPrinting/Database/CupsFAQ How do I enable debugging? 1. Edit the file /etc/cups/cupsd.conf 2. Change the line LogLevel to debug. 3. Restart cupsd. killall -HUP cupsd I have retried printing from OOo, with the same outcome of lines of symbols. These are the log file entries; c2d:/# tail -f /var/log/cups/access_log localhost - - [12/Mar/2007:12:06:59 -0400] POST /printers/deskjet500 HTTP/1.1 200 18951 Print-Job successful-ok c2d:/# tail -f /var/log/cups/error_log I [12/Mar/2007:12:01:14 -0400] Saving remote.cache... I [12/Mar/2007:12:01:14 -0400] Listening to 127.0.0.1:631 (IPv4) I [12/Mar/2007:12:01:14 -0400] Listening to /var/run/cups/cups.sock (Domain) I [12/Mar/2007:12:01:14 -0400] Loaded configuration file /etc/cups/cupsd.conf I [12/Mar/2007:12:01:14 -0400] Using default TempDir of /var/spool/cups/tmp... I [12/Mar/2007:12:01:14 -0400] Cleaning out old temporary files in /var/spool/cups/tmp... I [12/Mar/2007:12:01:14 -0400] Configured for up to 100 clients. I [12/Mar/2007:12:01:14 -0400] Allowing up to 100 client connections per host. I [12/Mar/2007:12:01:14 -0400] Using policy default as the default! I [12/Mar/2007:12:01:14 -0400] Full reload is required. I [12/Mar/2007:12:01:14 -0400] Saving job cache file /var/cache/cups/job.cache... D [12/Mar/2007:12:01:14 -0400] Discarding unused printer-state-changed event... I [12/Mar/2007:12:01:14 -0400] Loaded MIME database from '/etc/cups': 34 types, 39 filters... D [12/Mar/2007:12:01:14 -0400] Loading printer deskjet500... I [12/Mar/2007:12:01:14 -0400] Loading job cache file /var/cache/cups/job.cache... D [12/Mar/2007:12:01:14 -0400] Loading job 76 from cache... D [12/Mar/2007:12:01:14 -0400] Loading job 77 from cache... D [12/Mar/2007:12:01:14 -0400] Loading job 78 from cache... D [12/Mar/2007:12:01:14 -0400] Loading job 79 from cache... D [12/Mar/2007:12:01:14 -0400] Loading job 80 from cache... D [12/Mar/2007:12:01:14 -0400] Loading job 81 from cache... D [12/Mar/2007:12:01:14 -0400] Loading job 82 from cache... D [12/Mar/2007:12:01:14 -0400] Loading job 83 from cache... D [12/Mar/2007:12:01:14 -0400] Loading job 84 from cache... D [12/Mar/2007:12:01:14 -0400] Loading job 85 from cache... D [12/Mar/2007:12:01:14 -0400] Loading job 86 from cache... D [12/Mar/2007:12:01:14 -0400] Loading job 87 from cache... D [12/Mar/2007:12:01:14 -0400] Loading job 88 from cache... D [12/Mar/2007:12:01:14 -0400] Loading job 89 from cache... D [12/Mar/2007:12:01:14 -0400] Loading job 90 from cache... D [12/Mar/2007:12:01:14 -0400] Loading job 91 from cache... D [12/Mar/2007:12:01:14 -0400] Loading job 92 from cache... D [12/Mar/2007:12:01:14 -0400] Loading job 93 from cache... D [12/Mar/2007:12:01:14 -0400] Loading job 94 from cache... D [12/Mar/2007:12:01:14 -0400] Loading job 95 from cache... I [12/Mar/2007:12:01:14 -0400] Full reload complete. I [12/Mar/2007:12:01:14 -0400] Listening to 127.0.0.1:631 on fd 2... I [12/Mar/2007:12:01:14 -0400] Listening to /var/run/cups/cups.sock on fd 4... D [12/Mar/2007:12:06:59 -0400] cupsdAcceptClient: 8 from localhost (Domain) D [12/Mar/2007:12:06:59 -0400] cupsdReadClient: 8 POST /printers/deskjet500 HTTP/1.1 D [12/Mar/2007:12:06:59 -0400] cupsdAuthorize: No authentication data provided. D [12/Mar/2007:12:06:59 -0400] Print-Job ipp://localhost/printers/deskjet500 D [12/Mar/2007:12:06:59 -0400] print_job: auto-typing file... D [12/Mar/2007:12:06:59 -0400] print_job: request file type is application/postscript. D [12/Mar/2007:12:06:59 -0400] add_job: requesting-user-name=bob D [12/Mar/2007:12:06:59 -0400] Adding default job-sheets values none,none... I [12/Mar/2007:12:06:59 -0400] Adding start banner page none to job 96. D [12/Mar/2007:12:06:59 -0400] Discarding unused job-created event... I [12/Mar/2007:12:06:59 -0400] Adding end banner page none to job 96. I [12/Mar/2007:12:06:59 -0400] Job 96 queued on deskjet500 by bob. D [12/Mar/2007:12:06:59 -0400] Job 96 hold_until = 0 D [12/Mar/2007:12:06:59 -0400] Discarding unused printer-state-changed event... D [12/Mar/2007:12:06:59 -0400] job-sheets=none,none D [12/Mar/2007:12:06:59 -0400] banner_page = 0 D [12/Mar/2007:12:06:59 -0400] [Job 96] argv[0]=deskjet500 D [12/Mar/2007:12:06:59 -0400] [Job 96] argv[1]=96 D [12/Mar/2007:12:06:59 -0400] [Job 96] argv[2]=bob D [12/Mar/2007:12:06:59 -0400] [Job 96] argv[3]=Untitled1 D [12/Mar/2007:12:06:59 -0400] [Job 96] argv[4]=1 D [12/Mar/2007:12:06:59 -0400] [Job 96] argv[5]=PageSize=Letter InputSlot=Tray
Re: Printer setup problem in Etch
On Sun, Mar 11, 2007 at 08:31:16PM -0400, Bob C wrote: I am wondering if there is something obvious I am missing or doing wrong here? I realize Etch is a testing version of Debian, so could there be some sort of bug? There could always be some sort of bug. What does it say in /var/log/cups/{access_log,error_log,page_log} when you try and print? Regards, -Roberto -- Roberto C. Sanchez http://people.connexer.com/~roberto http://www.connexer.com signature.asc Description: Digital signature
Re: Printer setup problem in Etch
Bob C wrote: I am having a difficult time getting my printer to work on Etch with CUPS 1.2.7. When I print a page from Openoffice the printer responds, but prints a line of meaningless symbols. Another strange thing is that When I try to print a test page from CUPS setup program at http://localhost:631/, I just get a message Quota limit reached. My printer is an HP Deskpro 500, and the computer has a Asus p5b main board and Intel E6300 processor. The printer and wiring are fine, since I can print without problems on the same computer when I boot into mandriva-2007, which I have also installed on the harddrive. That distribution uses CUPS 1.2.4. and is setup with HPDeskjet 500 Foomatic/pcl3 (recommended), on parallel:/dev/lp0. These same settings do not work for me in Etch, nor do the other 3 types of drivers I found in the CUPS setup program. I'm working my way through this site, trying to identify the problem. http://www.linux-foundation.org/en/OpenPrinting I am wondering if there is something obvious I am missing or doing wrong here? I realize Etch is a testing version of Debian, so could there be some sort of bug? Thanks for your help. I had this problem a while back, but for the life of me I can't remember what the fix was. One thing you might try is HPLIP, if you're not using it already. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Printer setup problem in Etch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, 11 Mar 2007 20:31:16 -0400 Bob C [EMAIL PROTECTED] wrote: I am having a difficult time getting my printer to work on Etch with CUPS 1.2.7. When I print a page from Openoffice the printer responds, but prints a line of meaningless symbols. Another strange thing is that When I try to print a test page from CUPS setup program at http://localhost:631/, I just get a message Quota limit reached. My printer is an HP Deskpro 500, and the computer has a Asus p5b main board and Intel E6300 processor. The printer and wiring are fine, since I can print without problems on the same computer when I boot into mandriva-2007, which I have also installed on the harddrive. That distribution uses CUPS 1.2.4. and is setup with HPDeskjet 500 Foomatic/pcl3 (recommended), on parallel:/dev/lp0. These same settings do not work for me in Etch, nor do the other 3 types of drivers I found in the CUPS setup program. I'm working my way through this site, trying to identify the problem. http://www.linux-foundation.org/en/OpenPrinting I am wondering if there is something obvious I am missing or doing wrong here? I realize Etch is a testing version of Debian, so could there be some sort of bug? Thanks for your help. Search the Cups docs for Quota. I had this problem in Etch, after a cups upgrade - -- Greg Madden -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFF9LQBaefA3q8KcpARAgcRAJ948ehTQXlt72a/ajZ2W3JnqmsO0ACcD+yB yrVXZK5IyQ0U+gQbjzk+zdg= =Q/fa -END PGP SIGNATURE-
Re: Re: Printer setup problem in Etch
Hi Roberto, There could always be some sort of bug. What does it say in /var/log/cups/{access_log,error_log,page_log} when you try and print? When I print a page from Openoffice I get this in the log files c2d:/var/log/cups# tail -f error_log (no messages) c2d:/# tail -f /var/log/cups/access.log localhost - - [11/Mar/2007:23:01:08 -0400] POST /printers/deskjet500 HTTP/1.1 200 11809 Print-Job successful-ok c2d:/var/log/cups# tail -f page_log (no messages) When I try to print a test page from the CUPS program at http://localhost:631 c2d:/var/log/cups# tail -f error_log (no messages) c2d:/# tail -f /var/log/cups/access.log localhost - root [11/Mar/2007:23:17:58 -0400] GET /printers/ HTTP/1.1 200 0 - - localhost - root [11/Mar/2007:23:17:58 -0400] GET /printers/ HTTP/1.1 200 6538 - - localhost - root [11/Mar/2007:23:18:08 -0400] GET /printers/deskjet500?op=print-test-page HTTP/1.1 200 0 - - localhost - - [11/Mar/2007:23:18:08 -0400] POST /printers/deskjet500 HTTP/1.1 200 18606 Print-Job client-error-not-possiblelocalhost - root [11/Mar/2007:23:18:08 -0400] GET /printers/deskjet500?op=print-test-page HTTP/1.1 200 3371 - - c2d:/var/log/cups# tail -f page_log (no messages) Hope this helps. Thanks, Bob C -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Re: Printer setup problem in Etch
On Sun, Mar 11, 2007 at 11:29:57PM -0400, Bob C wrote: Hi Roberto, There could always be some sort of bug. What does it say in /var/log/cups/{access_log,error_log,page_log} when you try and print? When I print a page from Openoffice I get this in the log files c2d:/var/log/cups# tail -f error_log (no messages) c2d:/# tail -f /var/log/cups/access.log localhost - - [11/Mar/2007:23:01:08 -0400] POST /printers/deskjet500 HTTP/1.1 200 11809 Print-Job successful-ok c2d:/var/log/cups# tail -f page_log (no messages) When I try to print a test page from the CUPS program at http://localhost:631 c2d:/var/log/cups# tail -f error_log (no messages) c2d:/# tail -f /var/log/cups/access.log localhost - root [11/Mar/2007:23:17:58 -0400] GET /printers/ HTTP/1.1 200 0 - - localhost - root [11/Mar/2007:23:17:58 -0400] GET /printers/ HTTP/1.1 200 6538 - - localhost - root [11/Mar/2007:23:18:08 -0400] GET /printers/deskjet500?op=print-test-page HTTP/1.1 200 0 - - localhost - - [11/Mar/2007:23:18:08 -0400] POST /printers/deskjet500 HTTP/1.1 200 18606 Print-Job client-error-not-possiblelocalhost - root [11/Mar/2007:23:18:08 -0400] GET /printers/deskjet500?op=print-test-page HTTP/1.1 200 3371 - - c2d:/var/log/cups# tail -f page_log (no messages) Just to be clear, printing from OOo works but the test page does not? Regards, -Roberto -- Roberto C. Sanchez http://people.connexer.com/~roberto http://www.connexer.com signature.asc Description: Digital signature
Re: Re: Printer setup problem in Etch
Freddy-Freeloader wrote: I had this problem a while back, but for the life of me I can't remember what the fix was. One thing you might try is HPLIP, if you're not using it already. Thanks for the suggestion. I installed HPLIP and find that it doesn't detect my HP Deskjet 500. When I ran HPLIP, I got the message No Installed HP Devices Found. When I tried to install my printer the program does not detect it. c2d:/# hp-setup HP Linux Imaging and Printing System (ver. 1.6.10) Printer/Fax Setup Utility ver. 3.1 Copyright (c) 2003-6 Hewlett-Packard Development Company, LP This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to distribute it under certain conditions. See COPYING file for more details. 0 Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed error: bNo devices found./bpPlease make sure your printer is properly connected and powered-on. I am not sure what this means, could it be that the Deskjet 500 is too old to be detected? Thanks, Bob C. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]