Do you want to use SNMP to monitor the telnet connection?

SNMP allows you to monitor for specific conditions such as out of
paper, toner etc.

However it may require some specific tuning.
