LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   how to kill a print job (https://www.linuxquestions.org/questions/linux-general-1/how-to-kill-a-print-job-69986/)

gsikora 07-04-2003 01:00 AM

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.
Garion


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?

manthram 07-04-2003 01:13 AM

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

dalek 07-06-2003 02:40 AM

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.

:D :D

qman_txun 07-31-2003 05:13 PM

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....

dalek 07-31-2003 11:26 PM

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.

:D :D :D :D


All times are GMT -5. The time now is 04:27 PM.