[cups] -W Output

Guy Wickenden guy.wickenden at equator-design.com
Sun Dec 28 15:47:54 PST 2014


Hello Folks,

Using Cups 2.0.1 on Yosemite I am using the following command:

$ lpstat -W completed

This results in a list of completed jobs including the following information:

----------------------------------------------------------------------------------------------------------------------------
Printer			User	Bytes	Timestamp
		 
HP_LaserJet_P1006-4     guyw    49152   Thu 30 Oct 16:55:55 2014
----------------------------------------------------------------------------------------------------------------------------

Which is great but I am really looking for a list that contains the same data that can be found at:

http://localhost:631/jobs?which_jobs=completed <http://localhost:631/jobs?which_jobs=completed>

Specifically I am looking for:

• Name
• Pages
• State

I have gone all through the documentation but I cannot find anything that describes how to do this :( Any ideas?

Warm Regards & Many Thanks,
Guy



More information about the cups mailing list