Sounds like you need a lookup table! \:\)

An INI file could map a printer brand/model to specific OIDs for generic information like TonerLevel, Location, etc..

[Xerox 272]
Toner=OID...
Location=OID...

Doing so would allow you to get the printer model, then lookup the OIDs for the values. The code then becomes generic and only the config file needs to be customized for different printer models.

As for a list of printers, don't you publish your printers in AD? You can do an LDAP query if you do.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D