Skip to content Accesskey=4Skip to sub-navigation Accesskey=3View our Accessibility Options MIT Information Systems Home About IS&T Contact IS&T Site Map Search Advanced Search
Getting StartedGetting Services by Topic or Alphabetically Getting Help

On This Page

[Help]

  

Quick Links

Top Level

Related Links

Ask OLC a question

Athena Consulting Homepage

Helpdesk Stock Answers (for Mac/PC questions)


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

MIT Home | Getting Started | Getting Services | Getting Help | About IS&T | Accessibility
Ask a technology question or send a comment about this web page.