Your network printer most likely support the SNMP (Simple Network Management) Protocol.
For further reading about this protocol, look here
Take a look at Net-SNMP. An open source tool which can send SNMP queries and is considered to be very powerful.
The following page
] contains all codes that can be sent to printers. These code are called OIDs.
The OID you probably need would be: ".220.127.116.11.18.104.22.168.1.1.9"