Remove / cancel printer jobs

quarta-feira, 24 de setembro de 2014

Here is a command to remove all jobs from a printer queue (you need root):
# cancel -e hplj32 


You can always list the jobs using lparstat (syntax lpstat queue_name) and then manually cancel just a single job using the command cancel followed by a job number.

Here I am requesting to cancel the hplj32-13 job
# cancel hplj32-13