The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > OS X (Apple)
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 05-03-2007
[MA]Flying_Meat [MA]Flying_Meat is offline
Registered User
 

Join Date: Sep 2002
Location: San Fran
Posts: 108
lpstat -W [completed | not-completed] [-o printername]

will display those jobs that are/aren't completed on all, or specified printer queues.

so:
lpstat -W not-completed -o myprinter

lists all incomplete jobs in the printer queue "myprinter".


Will that work for your purposes?
Reply With Quote