When you are using a CUPS print server on your network, you might find print jobs locked in the queue due to a variety of reasons. (paper jam, power off while printing, network interruptions.....and many others
- The most obvious way to delete a print job is via the web interface at http://localhost:631, Unfortunately, this might not always work on print jobs that somehow got stuck.
- Alternatively, you can use the command line to cancel print jobs.
At the terminal prompt type:
sudo cancel -a -u <user-name>where user-name is the owner of the print jobs you want to delete/cancel. If you want to delete/cancle all jobs, don't specify -u <user-name>
- If the previous methods don't help, delete the whole spool folder.
At the terminal prompt type:
sudo rm -r /var/spool/cups/
Note: on your system, the spool folder might be located at a different location. you can find out about that in the /etc/cups/printers.conf and /etc/cups/cupsd.conf
Worked great for me. Thanks
ReplyDeleteKojak.T.
Please continue this great work and I look forward to more of your awesome blog posts. הדפסה על כוס בירה
ReplyDelete