Get the number of pages printed on the printer
Posted on 2004-10-13
I need to know if there is a method (a WinAPI function maybe) which tells me the number of pages printed on a printer installed to the pc.
I see that GetPrinter function is able to retrieve printer info. But i havent been able to find how to get the nr of pages printed.
I am looking for a method\function.
I am interested if I can count the number of pages from a moment on, not necessary how many pages where ever been printed on the printer.
Another possibilty would be to use the printer test page. Ive heard that on the test page the printer writes the nr of pages printed. If i can save the printer to an image that would be ok too (but without actually printing the page).