next up previous contents
Next: Controlling Printers Up: Printing Previous: Monitoring Printing

Stop Printing

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 lprmgif 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

Mark O. Stitson
Wed Sep 25 10:45:32 BST 1996