Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting the Page count from a Printer

Status
Not open for further replies.

Mootser13

Programmer
Sep 7, 2005
30
0
0
US
I want to write a script that I can run to get the page count from a print device.
I know that WMI can retrieve the setting and status and such, but it does not appear that it can get the number of pages it has printed.

Mootser13
 
It seems that you can get the number of bytes it's printed under the (misleading) property .pagesprinted of win32_printjob instances.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top