I want to discover local printer (attached via USB) through any java or .net application. i need following information directly from the printer. 1. printer make and model 2. serial number 3. page count
I have tried SNMP API in java but it works for networked printer only. I am searching for any API or script that communicate with USB printer and provide me information.
till now, i have tried WMI queries but through these queries, I am not able to fetch page count and serial number values from USB printer.
Any help on this would be appreciated.