Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 07-04-2003, 12:00 AM   #1
LQ Newbie
Registered: Dec 2002
Location: Euless,TX
Distribution: Mandrake
Posts: 29

Rep: Reputation: 15
how to kill a print job

I started a large printing job in ghostview and I want to terminale the job
I went to cups www admin tool and tried to cancel the job
I get a client-error-forbidden message.
I logged in as root and it did the same.
How do I cancel the print jobs at the console or anywhere else.

I accidently asked this question in the wrong forum and got my hand slapped.
Maybe this is the right place.

I understand the solution is the command lprm.
just what does it do?
Old 07-04-2003, 12:13 AM   #2
Registered: Feb 2002
Location: Fairfax, VA
Distribution: RedHat 8, Mandrake9.1, Slack9
Posts: 456

Rep: Reputation: 31
when you give a print command it is kept in a print Q. if you want to see the list you can use 'lpq' 'lprm' removes the job from that Q
1 members found this post helpful.
Old 07-06-2003, 01:40 AM   #3
Senior Member
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Lightbulb Try this

In CUPS click on admin, there should be a box that comes up. Type in root and your password for root. Then go cancel the job. Apparently only root can cancel a print job. I ran into this and figured it out by accident. I was going to delete the printer. That I thought would work to.
Hope this helps.

Last edited by dalek; 07-31-2003 at 10:27 PM.
Old 07-31-2003, 04:13 PM   #4
LQ Newbie
Registered: Mar 2003
Location: Huehuetenango, Guatemala
Distribution: Redhat, Suse, Linex, ELX
Posts: 6

Rep: Reputation: 0
Well, I have a question and let's see if it gets an answer. Just like dalex is saying, becoming root that the only option to cancel a print job, why any user could cencel it, instead becoming superuser?

We look for the answer....
Old 07-31-2003, 10:26 PM   #5
Senior Member
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Post I dun no

I don't know why you have to be super user. It makes sense to me that if you started the print job you should be able to cancel it too. I could see one user not being able to cancel another without root access but not his/her own.
I guess we have to remember that Linux is more secure than other OS's and that Linux is a multi-user enviroment. Basically it's a OS designed for hundreds of users and each is independant of the other and only root is common to all.

Hope you cancelled the print job. I had to cancel a job that turned out to be about 150 pages of garbage. 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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
killing print job j_carmona Linux - Newbie 3 04-28-2005 05:27 AM
Can't cancel a print job........ soujrnr Linux - Software 0 10-03-2004 08:52 PM
Results of print job a nightmare loadedmind Linux - Hardware 4 01-04-2004 10:09 PM
Print job doesn't get to the printer bsnider Linux - Hardware 1 08-04-2003 07:46 PM
Print job location. Oberon_sedai Linux - General 1 12-06-2001 08:23 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:20 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
Open Source Consulting | Domain Registration