It works now. :-) ... On 2008/12/04 02:16 (GMT+0100) Carlos E. R. composed:
On Wednesday, 2008-12-03 at 17:28 -0500, Felix Miata wrote:
It used to work, up until I when I don't know, maybe after some online updates a few months ago. Still works on OS/2 & windoz. Printer is LaserJet 4 on 192.168.0.4:9100.
KControl shows "State: idle (rejecting jobs)", and no jobs, while KJobViewer shows several jobs queued, all size 0, pages 0. If I try to remove a job from the queue, I get an error popup "Unable to perform action 'Remove' on selected jobs. Error received from manager: Execution of lprm failed:"
What I would do is open the cups control webpage at <http://localhost:631/>. There you should see a menu for "printers", where you will see the list of printers with their status.
Did that. It's what happens selecting Utilities->Printing->Manage Printing from the KDE3 menu, slightly different now than earlier. Now: Description: HP LaserJet 4M Location: normal Make and Model: HP LaserJet 4M Foomatic/hpijs Printer State: stopped, accepting jobs, not published Device URI: socket://192.168.0.4:9100 Most of the buttons are gray (print test page, move all jobs, publish printer, modify printer, set printer options, set as default, set allowed users), one red (reject jobs), one green (start printer), two black (cancel all jobs, delete printer). Clicking the green start unleashed it. That button changed color, and now says stop printer. I wonder how and why it got stopped in the first place?
If it asks for a password, you have to add it with the command "lppasswd". Even root needs one.
I tried the lpadmin man page, but nowhere I can figure out does it tell how to find out the printer name(s) available to specify, or how to specify all existing printers. Again like most man pages, no or not enough examples are provided.
lpadmin is used to create or change printers, not to activate them.
lpinfo -l -v shows:
"lpstat -a" will show you your entire list of printers with their status. And the name you have to feed other commands; for example, there is "cupsenable" (previously named "enable", I think) which is used to re-activate a printer.
normal accepting requests since Mon Sep 1 11:23:21 2008 Note there's no mention of stopped status. :-(
Where in YaST2
Search for "print" in the search box. But I'd recommend the web page instead.
for "Execution of lprm failed" turned up nothing useful.
There is a log.
Most of the cupsd.conf and /var/log/cups is at: http://fm.no-ip.com/tmp/CUPS/ Last entry in page_log is Sep 1 2008, so that must be about the time it broke, or I first discovered it was broken. First error in the log that date is "Broken pipe", which hasn't happened since. Now I see on that date in the full error_log /usr/lib/cups/backend/socket stopped. What I don't see is on http://en.opensuse.org/SDB:CUPS_in_a_Nutshell a command line method to start it. :-( Is there a way? It doesn't look like lpadmin can. -- "Unless the Lord builds the house, its builders labor in vain." Psalm 127:1 NIV Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org