[cups.general] Print job history and status

Michael R Sweet msweet at apple.com
Wed Dec 12 14:33:29 PST 2007


Palmer, Kurt wrote:
> For a bit of background, i am attempting to write a wrapper script for a program i need however i need to check that states and status of various print jobs.
> if possible i would also like to know if a job state file (temp file) exists that i can check for the state of current or past jobs.
> thanks,

List all completed jobs:

     lp -W completed -o

List the completed jobs on "foo":

     lp -W completed -o foo

List all jobs (completed and pending) on "foo":

     lp -W all -o foo

-- 
______________________________________________________________________
Michael R Sweet                        Senior Printing System Engineer





More information about the cups mailing list