Print Logo

LPRM command




<<  <   >  >>

One thing that works very well in *NIX systems is the BSD style print queue. This is the style that comes with most Linux distributions. To list the print jobs in the print queue, type lpq. To remove a single job from your queue, type lprm -P{printername} {jobid}. For instance, if your printer name was lp and the jobid was 586, you would type lprm -Plp 586 If you just type lprm alone, it will remove the current active job. If you type lprm - it will remove all jobs you have submitted.



This article comes from NetAdminTools:
http://www.netadmintools.com/

The URL for this story is:
http://www.netadmintools.com/art50.html

Copyright 1997-2009 NetAdminTools.com. Read our Terms of Use.