List of print jobs

Hi, I am quite new to java... and would like to know if there is a way to get a list of current pending jobs in a printer.Thanks in advance for your help.JN
[184 byte] By [janunezc@cra] at [2007-11-26 18:38:48]
# 1
Use JobState class.See the java API.
fourmousa at 2007-7-9 6:12:51 > top of Java-index,Desktop,Core GUI APIs...
# 2
I checked the API and JobState class seems to be a descriptor of one single job... I suppose the method to retrieve a list of pending jobs in a printer would return an array of JobState objects... but I have not being able to find yet such method...
janunezc@cra at 2007-7-9 6:12:51 > top of Java-index,Desktop,Core GUI APIs...
# 3

Just to complement my question: Here is the thing...

I want to monitor activity on a printer in my computer, so I can capture and log the jobs that are sent to my printer over time.

I would like to do so by monitoring the printer pending jobs list (if that can be retrieved through any java method) and make a log of changes in that list.

Any advice on how to get the list of pending jobs of a printer?

janunezc@cra at 2007-7-9 6:12:51 > top of Java-index,Desktop,Core GUI APIs...