I'm looking for a way to determine if a specific tray on a given printer in Windows is out of paper. Currenly I'm using the WMI Win32_Printer object to get the status of the entire printer, and if one of the trays is out of paper I do get a status that tells me the entire printer is out of paper.
But I'd like to know if a specific tray is out of paper. Copious Google searches have come up with nothing.
I'm writing the app in c# but pointers to examples in any language would do.
Thanks, in advance..