cse taggi

Log in

Cancelling print jobs



Cancelling a Print Job

All of CSE's printers are spooled - that is, your print request is sent as a job to a printserver, which adds it to a queue for the requested printer. If you change your mind about printing the file, it is much easier to remove it from the spool than from the actual printer. Once the printer has read the file into its memory and started printing, it is pretty hard to stop it.

Linux

Check the printer spool with lpq -P<printername>. Each printjob has a number associated with it. Identify the number of your job, then use lprm -P<printername> <job number> to remove it.

For example, you want to cancel printing a job on the printer shooter: % lpq -Pshooter Printer: shooter@stave 'shooter.dup' Queue: 1 printable job Server: pid 31702 active Unspooler: pid 31703 active Status: processing 'dfA407drum16.orchestra.cse.unsw.EDU.AU', size 6403478, format 'f', IF filter 'lasercnt.student' at 16:36:24.695 Rank Owner/ID Pr/Class Job Files Size Time active fblo123@drum16+407 A 407 (STDIN) 6403478 16:36:24 % lprm -Pshooter 407

You can remove more than one job at a time by listing all their numbers or by saying 'all': man lprm for more details.

Windows



Once the job has started printing

If the job is listed as active on the queue, or no longer appears on it, then that means it is being or has been read into the printer's memory and the above commands, which talk to the printserver not the printer, won't work. If it's a staff printer, you will have access to the Cancel button, which will stop the printer reading more of the printjob but will not stop it from printing whatever is already in its memory. Obviously this will only help if the printjob is a large one; a small job will be completely read and you will not be able to stop it.



Tags for this page:

printing cancel queue remove