[opensuse] [10.2] Cannot Print
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:" 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. lpinfo -l -v shows: network socket direct hpfax direct hp network http network ipp network lpd direct parallel:/dev/lp0 direct scsi serial serial:/dev/ttyS0?baud=115200 network smb Where in YaST2 or KControl3 does one configure CUPS? I tried from utilities->printing->manage printing, which shows pending on the two jobs I just tried to create, with a red button "hold job" next to each. When I open printers, it shows a red button "reject jobs", and "Printer State: stopped, accepting jobs, not published". The print test page button sends another to the queue. In trying to change settings in administration, apply settings gives a "please stand by while the server restarts..." message that doesn't go away. On help.opensuse.org I found http://en.opensuse.org/SDB:Laser_Printer_Does_Not_Print_Properly_Or_Does_Not... but that page seems to be an error page for the help wiki database. Googling for "Execution of lprm failed" turned up nothing useful. Anyone know how to find and fix this problem? -- "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
Felix Miata pecked at the keyboard and 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:"
Try accept <printer name> man accept -- Ken Schneider SuSe since Version 5.2, June 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2008/12/03 18:03 (GMT-0500) Ken Schneider composed:
Felix Miata pecked at the keyboard and 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:"
Try accept <printer name>
man accept
That man page doesn't offer a definition of "destination". I tried 'accept normal' ("normal" is the title given "default printer" when I open the Utilities->Printing->Manage Printing KDE menu item that shows "Printers - CUPS 1.2.7" in its titlebar when opened), but still all I see is additions to the queue, and nothing ever reaches the printer, including "print test page" from that same utility. :-( -- "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
Felix Miata pecked at the keyboard and wrote:
On 2008/12/03 18:03 (GMT-0500) Ken Schneider composed:
Felix Miata pecked at the keyboard and 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:"
Try accept <printer name>
man accept
That man page doesn't offer a definition of "destination". I tried 'accept normal' ("normal" is the title given "default printer" when I open the Utilities->Printing->Manage Printing KDE menu item that shows "Printers - CUPS 1.2.7" in its titlebar when opened), but still all I see is additions to the queue, and nothing ever reaches the printer, including "print test page" from that same utility. :-(
Which is why I gave you a clue with "<printer name>". The opposite of accept is reject which is the error you are getting. What is the name of the printer queue? That is the "destination" required with accept. -- Ken Schneider SuSe since Version 5.2, June 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2008/12/03 18:52 (GMT-0500) Ken Schneider composed:
Felix Miata pecked at the keyboard and wrote:
On 2008/12/03 18:03 (GMT-0500) Ken Schneider composed:
Felix Miata pecked at the keyboard and 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:"
Try accept <printer name>
man accept
That man page doesn't offer a definition of "destination". I tried 'accept normal' ("normal" is the title given "default printer" when I open the Utilities->Printing->Manage Printing KDE menu item that shows "Printers - CUPS 1.2.7" in its titlebar when opened), but still all I see is additions to the queue, and nothing ever reaches the printer, including "print test page" from that same utility. :-(
Which is why I gave you a clue with "<printer name>". The opposite of accept is reject which is the error you are getting. What is the name of the printer queue? That is the "destination" required with accept.
In YaST2 printer configuration, there is only one printer: Queue Name: normal Device: /192.168.0.4:9100 Model: LaserJet 4M Default Queue: Default As indicated earlier, "accept normal" doesn't help. "accept Default" gives "accept: Operation failed: client-error-not-found". Is there some other printer queue name to be found somehow? -- "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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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. 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.
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. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkk3L3cACgkQtTMYHG2NR9UMGACgjPiip3mz4Q2BgK/zn74S2JeG YeYAoJOc4F6MBeMYy2r7bXFEVTCPLMc/ =kRPI -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday, 2008-12-03 at 22:28 -0500, Felix Miata wrote:
It works now. :-) ...
Good!
On 2008/12/04 02:16 (GMT+0100) Carlos E. R. composed:
On Wednesday, 2008-12-03 at 17:28 -0500, Felix Miata wrote:
...
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?
Many things. Program error, internal printer error, cables... the software stops the printer and waits till you tell it to go ahead again. It is safer that keep trying, and perhaps jamming paper or who knows.
"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. :-(
Well, as it is working now, it wouldn't say.
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.
That was the error.
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.
cupsenable (aka enable on some old opensuse version, or perhaps accept). Forget looking at lpadmin, that's different. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkk3yO4ACgkQtTMYHG2NR9USvgCfZ/BOAFjj7oIqxfreeYVO7423 lHsAn2yFG/MY6kNAyS0fRrAhYLal2o35 =DqN8 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Carlos E. R.
-
Felix Miata
-
Ken Schneider