Results 1 to 2 of 2

Thread: printer disabled after paperout

Hybrid View

  1. #1

    printer disabled after paperout

    Problem:

    it happened that my printer (hp Laserjet 1000) running under mandrake linux run out of paper when processing a printing job. from that moment, the printer was disabled and didn't print anymore!!
    unfortunately my cups did not implement the ordinary commands "lpc restart" so that i had no chance to make it running again. this is how "lpc status" looked like:

    HPhpLaserJet1000:
    printer is on device 'usb' speed -1
    queuing is enabled
    printing is disabled
    no entries
    daemon present

    however, after some hours of investigation i found a solution to fix this problem.


    Solution:
    if you have the same problem, do the following:
    1) login as root
    1.1) if you want to remove printing jobs you have sent to the printer use the lpq command to view the print-jobs and lprm command to remove jobs
    1.2) if you want to see the content of the print jobs you should find them under /var/spool/cups or /var/spool/cups/tmp. refer to the date of the file to see, if it could be the job you're interested in
    2) go to /etc/cups/ and open the file printers.conf with vi or any editor
    3) make a backup of your old printer config file, in case you screw it up: cp printers.conf printers.conf.bup
    4) in the printer-configuration of the desired printer you'll find the code/value pair 'State Stopped'. Replace the value 'Stopped' by 'Idle' and save the file back
    5) now restart the cupsd (Common Unix Pinting Service - Daemon) by killing / starting it. first, get the cupsd's PID:
    ps -ef | grep cupsd. this should give you something like this:
    l
    root 3678 1 0 09:34 ? 00:00:00 cupsd
    root 3849 3365 0 10:00 pts/0 00:00:00 grep cupsd

    now kill the cupsd (printing daemon) by typing kill -9 3678. of course you must replace 3678 by your system's PID.

    now relaunch the daemon by typing cupsd. if the printer's job queue is not empty by now, the printer will start processing these jobs!

  2. #2

    Re:printer disabled after paperout

    Thanks for the heads up!

Similar Threads

  1. Disabled SELINUX !
    By honey bee in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 08-29-2006, 08:11 AM
  2. Share Printer
    By GhostDawg in forum Linux - General Topics
    Replies: 4
    Last Post: 01-10-2006, 12:58 AM
  3. SMB signing is mandatory and we have disabled it.
    By paleogryph in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 01-21-2005, 07:19 PM
  4. printer help
    By Tyr_7BE in forum Linux - General Topics
    Replies: 4
    Last Post: 05-21-2003, 01:32 AM
  5. printer
    By rwtoften in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 05-09-2002, 11:15 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •