Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-12-2005, 12:36 PM   #1
Registered: Dec 2004
Posts: 35

Rep: Reputation: 15
Cancel printing jobs

I have tried all the graphical utilities but non of them seem to be able to cancel printer jobs. Is there any other way to do that? Perhaps I can do it from the console?
Old 01-12-2005, 12:44 PM   #2
Registered: Jan 2005
Distribution: Gentoo/Vector/Debian
Posts: 95

Rep: Reputation: 15
I have never been able to get a printer to really cancel a printer job well. On about the 6 or 7 printers I have used in my life, selecting "cancel print" in any os seems to make the printer wait at least until the current page is done printing . . . which annoys me . . . and further that some (including my new hp) doesn't even listen to me.
Old 01-12-2005, 02:48 PM   #3
LQ Newbie
Registered: Dec 2003
Location: Canada
Posts: 17

Rep: Reputation: 0
From the command line, use lprm -
If you are using CUPS, graphically, open your browser and enter
There, you will find the way to remove any one or all jobs.
Old 01-12-2005, 04:07 PM   #4
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 790

Rep: Reputation: 43
I do it this way

This works in KDE running on Mandrake. You may need to adapt it.

Create the following file and save it as in your home directory:

echo Type lpq to see printer jobs in queue
echo To cancel one job type:
echo lprm number
echo To cancel several jobs type:
echo lprm number number ....
echo OR
echo cancel -a

Make it executable.
Create a "link to application" on your desktop. Make the command line:

konsole -e /home/<your name/

In permissions, check "is executable"

Now when you double click the icon it will open 2 console sessions. One with the instructions, the other with a prompt. Note that to cancel a job created on another computer you will need to log inas root on the second console. Clumsy but it works.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Access to cancel or hold printing denied solar1951 Mandriva 0 07-29-2005 10:14 AM
Clear printing jobs ar1 Linux - General 1 02-08-2005 10:00 PM
Cancel All Scheduled Jobs? Rv5 Programming 1 09-17-2004 09:39 PM
cancel shutdown kc8tbe Linux - General 3 06-02-2003 09:39 PM
print jobs not actually printing....? rose_bud4201 Linux - Software 0 01-23-2003 10:52 PM

All times are GMT -5. The time now is 08:42 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration