How to cancel your print job
When you send a file to a printer, it is put in a queue, and is called a job.
The command to delete a job from the printer's queue is 'lprm'.
To remove all the jobs in a particular printer queue, type:
lprm -Pprintername -
To remove a single job from the queue, type:
lprm -Pprintername #
...where '#' is the number of your print job.
To find out what job number your files have, type a command of the form:
lpq -Pprintername
It will return something like:
athena% lpq -Psavion
Printer: savion@io 'HP5SI M12-182'
Queue: 11 printable jobs
Server: pid 7395 active
Unspooler: pid 7809 active
Status: printing data file 'dfA308m12-182-14.mit.edu' at 13:31:00.223
Filter_status: getting sync using 'pjl' at 13:31:00.255
Rank Owner/ID Class Job Files Size Time
active paco@m12-182-14+308 A 308 (stdin) 11979 13:27:18
2 janeuser@m12-18+312 A 312 (stdin) 10933 13:27:30
3 joeuser@m12-182+316 A 316 (stdin) 10701 13:27:45
Your print job number is the number listed in the column labeled "Job".
For more information on lprm type:
man lprm
|