Providing a bit more guidance to what DONDERKA posted
If it is a network printer, then you could use the standard OIDs hrPrinterStatus = 1.3.6.1.2.1.25.3.5.1.1 and hrPrinterDetectedErrorState = 1.3.6.1.2.1.25.3.5.1.2 from the HOST-RESOURCES-MIB
The problem arises when you try to identify the actual problem from the returned octet string. The values are indicated as the bit values of the octet string.
So while you could easily identify if it's a pass or fail state (ie != 0), it would require a manual check on the bits to identify the problem. See the bit values from the link.