Linux print job administration

How to find every Printer Status :

lpc status

How to view print job for a particular printer:

lpq -Pprinter-spool-name
[root@Host~]# lpq -PGI_LBP
GI_LBP is ready and printing 
Example:
Rank    Owner   Job     File(s)                         Total Size<br />
active  xxx 231020  s.t-avprnt.0H9                  4096 bytes<br />
1st     xxxx   231023  s.t-avprnt.0HD                  4096 bytes</p>

How to remove a particular print job from a printer :

lprm -PGI_LBP 231020

How to remove all print job from a printer:

lprm -PGI_LBP -


How to sent a print job to a different printer

lpr -P printer-spool-name document
example:
lpr -P GI_LBP wordbook.txt

Tags: , , , , ,

Leave a Reply