Skip to main content.
Index | Support | Documentation | FAQ

How to cancel work being printed

To cancel a print job within Premvet

To cancel a job from the O.S.

If you want to cancel a specific job you have to determine the job number. The command (from an O.S. prompt) is

	lpstat -o

This will give a list of all jobs waiting to print, identify (where possible) the job number on the left of the screen and then type:

	cancel <Job ID>
e.g. cancel laser-1234 to cancel job number 1234 which would be queued for the printer 'laser'.

To finish, here is a one line command that will cancel ALL jobs on ALL printers. I won't explain the command but it does work (if typed correctly!)

lpstat -o | awk '{ print $1 }' | xargs cancel

Digesting the above should allow you to cancel any and all print jobs.