I want to be able to get the infromationf from the printer when its out of paper and if possible even when there is a paper jam.

I have used enumjobs to get al the jobs, and then used job infor 2 and its number of pages variable to know how many pages are there.

But I also want to know when the print er is just stuck as its out of paper or if there is a paper jam.

My application is just monitoring the printer by the way, I might not be starting the prints every time.

Any suggestions, links are very much appreciated, and any sample code would be heavenly...

Thanks!
Pauli
Pauli