I want to specify input cells when printing using Java. I found the MediaTray class that should match the input beans:
The following standard values are defined for input-trays (from ISO DPA and the Printer MIB): 'top': The top input tray in the printer. 'middle': The middle input tray in the printer. 'bottom': The bottom input tray in the printer. 'envelope': The envelope input tray in the printer. 'manual': The manual feed input tray in the printer. 'large-capacity': The large capacity input tray in the printer. 'main': The main input tray 'side': The side input tray
Source: http://tools.ietf.org/html/rfc2911
The problem is that I get a number from the application that indicates the input bit. Can I just match the enum int values, or what is the general way to get the enum value with a number? Is even official support for tray numbers supported?
I could not find the attributes in the RFC that matched the output bins. Is there any way to do this?
And the most important question: a more or less reliable printer interface? Most of the flows that I found when people asked about trays eventually gave up because they couldnβt get it working.
Any impressions would be appreciated.
source share