Monday, February 26, 2007

Display the Status of Print Jobs Or Cancel a Job

Often we are asked to check the status of a print job. We use the ubiquitous lpstat command to ascertain this information. Here are some examples.

Gives the status of all print jobs started with the lp command
#lpstat
myprinter_1-250 esofthub 9876 Feb 24 10:16
myprinter_1-251 esofthub 6754 Feb 24 10:45
myprinter_1-252 esofthub 5646 Feb 24 10:56

Cancel a print job started with lp
#cancel myprinter_1-250

No comments: