If we have mistakenly submitted a file for printing and do not want it
printed after all, we can remove it from the print queue as long as
printing has not started yet.
Carrying on from the previous examples, we can remove jobs from the
print queues using the lprm
command and the job number given by
the lpq command. Again we have the option of specifying a
different printer:
$lprm -Praw 0 dfA000Aa00255 dequeued cfA000Aa00255 dequeued $lpq -Praw no entries $