removing printer jobs
After I compiled a new Kernel (2.6) my printer (hp Laserjet 2100/4) worked perfectly but I had a lot of jobs that were waiting to be printed out and so they were because I didn't know how to stop them.
So my question is: How can I remove specific printer jobs? (the easy way is the nicest ) I run Debian and openbox. (I know Konqueror have an easy way to do it but since I have openbox I can't do it that way) Thanks! |
I don't think this is necessarily the easiest way but it will work on pretty much any UNIX printing system.
Open a terminal and type: Code:
lpq You can remove the print job with a given ID using: Code:
lprm ID |
Thanks for the fast reply!
It worked perfectly but when I typed lpq I got samel@confused:~$ lpq lp is ready and printing Rank Owner Job Files Total Size active samel 3 (standard input) 646166 bytes 1st samel 4 (standard input) 1003436 bytes Is there maybe a way that it could be more specific? "standard input" doesn't really tell me what file it is... |
"standard input" means that the file has been taken from the standard input (stdin) stream passed to lpq (or cupsd or whatever).
It's basically a default name used when the printing program doesn't bother to tell the print server what the job is called. Sometimes you can just tell by the size of the print job. You can fix this on the client side by using, for example, Code:
lpr -t "Title" - Code:
lpr - You can see which documents are printing by looking in the appropriate place under /var/spool. For example, under CUPS, you will have a directory /var/spool/cups containing files like (for instance) d000ID-001. If you open these files with gv (in an X windows terminal) Code:
gv /var/spool/cups/d000ID-001 Hope that helps, — Robert J. Lee |
All times are GMT -5. The time now is 11:20 PM. |