Examples of using the lprm command

Examples of using the lprm command

To remove a print job from the queue for your default printer:

   lpq
   Rank    Owner   Job     Files
   active  joe     483     overheads.ps
   2nd     sarah   484     /tmp/RFC137
   3rd     tony    485     report

   lprm 484

The user sarah has removed their print job from the the printer queue.


To remove a print job that has been placed in another printer's queue:

   lpq -Pps3
   Rank    Owner   Job     Files
   active  jim     112     doc.ps
   2nd     sally   113     presentation.ps
   3rd     tom     114     draft

   lprm -Pps3 113

The user sally has removed her print job from the queue for the printer ps3.


[Home] [Search] [Index] This site maintained by unixhelp@math.rutgers.edu
This page was last updated on September 05, 2006 at 10:30 am and is maintained by webmaster@math.rutgers.edu.
For questions regarding courses and/or special permission, please contact mclausen@math.rutgers.edu.
For questions or comments about this site, please contact help@math.rutgers.edu.
© 2012 Rutgers, The State University of New Jersey. All rights reserved.