[cups.general] Printer stopped:

Gene Heskett gene.heskett at verizon.net
Tue Feb 21 07:39:34 PST 2006


On Tuesday 21 February 2006 09:31, Till Kamppeter wrote:
>Have you made the "beh" script executable?
chmod 0755 /usr/bin/cups-forever

>Have you restarted CUPS 
> after doing so?
Yes.

> Does "lpinfo -v" list the "beh" backend? 

It did, but I've 'modified' each of my printers again now, as that kills 
them.

Now that I know I can reset them, I'll do so.  Here is an lpstat -v from 
a working system:
==========
device for lp0: usb://EPSON/Stylus%20C82
device for lp1: usb://EPSON/Stylus%20C82
device for lp2: usb://EPSON/Stylus%20C82
device for lp3: usb://EPSON/Stylus%20C82
==========
Now, I'll rerun 'cups-forever'
Which contains this:
==========
#!/bin/bash
lpadmin -p lp0 -E -v beh:/1/0/30/usb://EPSON/Stylus%20C82
lpadmin -p lp1 -E -v beh:/1/0/30/usb://EPSON/Stylus%20C82
lpadmin -p lp2 -E -v beh:/1/0/30/usb://EPSON/Stylus%20C82
lpadmin -p lp3 -E -v beh:/1/0/30/usb://EPSON/Stylus%20C82
==========
Then do
'service cups restart'
'lpstat -v'
device for lp0: beh:/1/0/30/usb://EPSON/Stylus%20C82
device for lp1: beh:/1/0/30/usb://EPSON/Stylus%20C82
device for lp2: beh:/1/0/30/usb://EPSON/Stylus%20C82
device for lp3: beh:/1/0/30/usb://EPSON/Stylus%20C82

Now, print a page...  Same page, no output. Goto http://localhost:631
lp2, the default printer is disabled, and the status line reads:
=======
    Description: An Epson C82 in draft mode
Location: coyote.coyote.den
Printer State: stopped, accepting jobs.
"Cannot write /var/spool/cups/tmp/1369-root-cupsjob15198: No such file 
or directory"

And the error_log now contains 2 more lines:
E [21/Feb/2006:10:28:04 -0500] [Job 1369] Cannot 
write /var/spool/cups/tmp/1369-root-cupsjob15198: No such file or 
directory
E [21/Feb/2006:10:28:04 -0500] PID 15198 stopped with status 2!

/var/spool/cups now contains these recent files:
-rw-------  1 root sys   625 Feb 21 10:28 c01369
-rw-r-----  1 root sys 82450 Feb 21 10:28 d01369-001
so it obviously did write them.

And if I restart the stopped printer, its stopped again in 1 or 2 
seconds, as fast as I can refresh the page display.

Next?

>   Till
>
>Gene Heskett wrote:
>> Great idea Till, but when I tried the example shown by filling in
>> the blanks, as root I got this response:
>>
>> [root at coyote backend]# lpadmin -p lp0 -E -v
>> beh:/1/0/30/usb://EPSON/Stylus%20C82 lpadmin: add-printer (set
>> device) failed: client-error-not-possible
>>
>> Do I need to reset something in my cupsd.conf?
>
>_______________________________________________
>cups mailing list
>cups at easysw.com
>http://lists.easysw.com/mailman/listinfo/cups

-- 
Cheers, Gene
People having trouble with vz bouncing email to me should add the word
'online' between the 'verizon', and the dot which bypasses vz's
stupid bounce rules.  I do use spamassassin too. :-)
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2006 by Maurice Eugene Heskett, all rights reserved.





More information about the cups mailing list