LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 01-12-2005, 11:36 AM   #1
Imerion
Member
 
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, 11:44 AM   #2
barryman_5000
Member
 
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, 01:48 PM   #3
zzak
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
http://localhost:631
There, you will find the way to remove any one or all jobs.
 
Old 01-12-2005, 03:07 PM   #4
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 764

Rep: Reputation: 32
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 printer.sh in your home directory:

clear
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
echo
konsole

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

konsole -e /home/<your name/printer.sh

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.
 
  


Reply


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 09:14 AM
Clear printing jobs ar1 Linux - General 1 02-08-2005 09:00 PM
Cancel All Scheduled Jobs? Rv5 Programming 1 09-17-2004 08:39 PM
cancel shutdown kc8tbe Linux - General 3 06-02-2003 08:39 PM
print jobs not actually printing....? rose_bud4201 Linux - Software 0 01-23-2003 09:52 PM


All times are GMT -5. The time now is 12:51 PM.

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