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 appl@mcsr.olemiss.edu