EnumJobs not returning Copies & Total Pages
Posted
by Hein du Plessis
on Stack Overflow
See other posts from Stack Overflow
or by Hein du Plessis
Published on 2010-05-13T12:19:06Z
Indexed on
2010/05/14
12:04 UTC
Read the original article
Hit count: 215
I'm using Windows API's EnumJobs to find the PageCount and Copies of a print job, but I found that these fields are almost always zero when called on a print server.
Although it could be my timing is out, because the number of pages increment as the job prints and once it's done the print job cannot be accessed. So there is about half a nanosecond when the values in EnumJobs is correct before it dissapears.
I've been scouring the web but can't find any help on this, just other people with similar problems.
Anybody with experience with EnumJobs or can suggest other means of determining the total number of pages printed?
© Stack Overflow or respective owner