Cancelling a Print Job (lprm)
You can cancel a print job after it has already been sent to
the printer, even after it has begun printing, by using the lprm command.
First, use the lpq command to
determine the job number (in the third column of information) of
the print job you want to cancel. Then use the job number with
the lprm command:
lprm job#
For example, to remove job 34 from the print queue, you would
enter
lprm 34
To remove all the jobs you've submitted for printing, enter the
following command:
lprm all
Go to the Print tutor main
page.
Last modified on
July 20, 2004
by cawalker.
|