Results 1 to 5 of 5

Thread: How to kill a print job

  1. #1
    Join Date
    Apr 2009
    Location
    Reston VA, a Wash DC burb
    Beans
    150
    Distro
    Ubuntu 11.04 Natty Narwhal

    How to kill a print job

    Hi Folks -- I accidentally submitted a print job twice. So I have this job sitting in the queue and haven't been able to figure out how to clear it. Tried system > administration > printing. Nothing there about how to clear the queue. I'm running 8.04. HELP!!!! ...Fred

  2. #2
    Join Date
    Feb 2010
    Location
    Land of Confusion
    Beans
    8,394
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: How to kill a print job

    You can either open the printer applet if it is shown, then right click the items and cancel them or enter "lprm" in a terminal. Then to check and makes sure the jobs are cancelled, you can enter "lpstat" in a terminal.

  3. #3
    Join Date
    Jul 2008
    Beans
    235
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: How to kill a print job

    As a last resort, issue the command:

    Code:
    > ps -ef |grep username
    where username is the user that submitted the print job. The second field of the ps command, with the ef options, is the process ID. Find the print process in the list and then:

    Code:
    > kill -9 PID#

  4. #4
    Join Date
    Apr 2009
    Location
    Reston VA, a Wash DC burb
    Beans
    150
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: How to kill a print job

    Quote Originally Posted by uRock View Post
    ...enter "lprm" in a terminal. Then to check and make sure the jobs are canceled, you can enter "lpstat" in a terminal.
    That's what I used, and it seems to have done the trick. Oddly, there was no feedback of any kind, such as 'print queue empty', or 'print job canceled'. But I'm not complaining. Thanks for your help!!! ...Fred

  5. #5
    Join Date
    Feb 2010
    Location
    Land of Confusion
    Beans
    8,394
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: How to kill a print job

    Quote Originally Posted by atravnic View Post
    That's what I used, and it seems to have done the trick. Oddly, there was no feedback of any kind, such as 'print queue empty', or 'print job canceled'. But I'm not complaining. Thanks for your help!!! ...Fred
    If the terminal doesn't give an error, then all went well. I am glad it worked.

    Cheers,
    uRock

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
  •