Printer setup problem in Etch

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.

--

0

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

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

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

--

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

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

--

Printer setup problem in Etch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 12 Mar 2007 08:45:07 -0400
Bob C 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

...
QuotaPeriod 604800

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-----

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.

--

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: No devices found.Please 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.

--

Printer setup problem in Etch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 11 Mar 2007 20:31:16 -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. 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-----

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

--

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.

--

Syndicate content