Uses of Class
javax.print.attribute.standard.PrinterStateReason
| Package | Description |
|---|---|
| javax.print.attribute.standard |
Package
javax.print.attribute.standard contains classes for specific
printing attributes. |
-
Uses of PrinterStateReason in javax.print.attribute.standard
Fields in javax.print.attribute.standard declared as PrinterStateReason Modifier and Type Field Description static PrinterStateReasonPrinterStateReason. CONNECTING_TO_DEVICEThe printer has scheduled a job on the output device and is in the process of connecting to a shared network output device (and might not be able to actually start printing the job for an arbitrarily long time depending on the usage of the output device by other servers on the network).static PrinterStateReasonPrinterStateReason. COVER_OPENOne or more covers on the device are open.static PrinterStateReasonPrinterStateReason. DEVELOPER_EMPTYThe device is out of developer.static PrinterStateReasonPrinterStateReason. DEVELOPER_LOWThe device is low on developer.static PrinterStateReasonPrinterStateReason. DOOR_OPENOne or more doors on the device are open.static PrinterStateReasonPrinterStateReason. FUSER_OVER_TEMPThe fuser temperature is above normal.static PrinterStateReasonPrinterStateReason. FUSER_UNDER_TEMPThe fuser temperature is below normal.static PrinterStateReasonPrinterStateReason. INPUT_TRAY_MISSINGOne or more input trays are not in the device.static PrinterStateReasonPrinterStateReason. INTERLOCK_OPENOne or more interlock devices on the printer are unlocked.static PrinterStateReasonPrinterStateReason. INTERPRETER_RESOURCE_UNAVAILABLEAn interpreter resource is unavailable (e.g., font, form).static PrinterStateReasonPrinterStateReason. MARKER_SUPPLY_EMPTYThe device is out of at least one marker supply (e.g. toner, ink, ribbon).static PrinterStateReasonPrinterStateReason. MARKER_SUPPLY_LOWThe device is low on at least one marker supply (e.g. toner, ink, ribbon).static PrinterStateReasonPrinterStateReason. MARKER_WASTE_ALMOST_FULLThe device marker supply waste receptacle is almost full.static PrinterStateReasonPrinterStateReason. MARKER_WASTE_FULLThe device marker supply waste receptacle is full.static PrinterStateReasonPrinterStateReason. MEDIA_EMPTYAt least one input tray is empty.static PrinterStateReasonPrinterStateReason. MEDIA_JAMThe device has a media jam.static PrinterStateReasonPrinterStateReason. MEDIA_LOWAt least one input tray is low on media.static PrinterStateReasonPrinterStateReason. MEDIA_NEEDEDA tray has run out of media.static PrinterStateReasonPrinterStateReason. MOVING_TO_PAUSEDSomeone has paused the printer, but the device(s) are taking an appreciable time to stop.static PrinterStateReasonPrinterStateReason. OPC_LIFE_OVERThe optical photo conductor is no longer functioning.static PrinterStateReasonPrinterStateReason. OPC_NEAR_EOLThe optical photo conductor is near end of life.static PrinterStateReasonPrinterStateReason. OTHERThe printer has detected an error other than ones listed below.static PrinterStateReasonPrinterStateReason. OUTPUT_AREA_ALMOST_FULLOne or more output areas are almost full (e.g. tray, stacker, collator).static PrinterStateReasonPrinterStateReason. OUTPUT_AREA_FULLOne or more output areas are full (e.g. tray, stacker, collator).static PrinterStateReasonPrinterStateReason. OUTPUT_TRAY_MISSINGOne or more output trays are not in the device.static PrinterStateReasonPrinterStateReason. PAUSEDSomeone has paused the printer and the printer'sPrinterStateisSTOPPED.static PrinterStateReasonPrinterStateReason. SHUTDOWNSomeone has removed a printer from service, and the device may be powered down or physically removed.static PrinterStateReasonPrinterStateReason. SPOOL_AREA_FULLThe limit of persistent storage allocated for spooling has been reached.static PrinterStateReasonPrinterStateReason. STOPPED_PARTLYWhen a printer controls more than one output device, this reason indicates that one or more output devices are stopped.static PrinterStateReasonPrinterStateReason. STOPPINGThe printer is in the process of stopping the device and will be stopped in a while.static PrinterStateReasonPrinterStateReason. TIMED_OUTThe server was able to connect to the output device (or is always connected), but was unable to get a response from the output device.static PrinterStateReasonPrinterStateReason. TONER_EMPTYThe device is out of toner.static PrinterStateReasonPrinterStateReason. TONER_LOWThe device is low on toner.Methods in javax.print.attribute.standard that return types with arguments of type PrinterStateReason Modifier and Type Method Description Set<PrinterStateReason>PrinterStateReasons. printerStateReasonSet(Severity severity)Obtain an unmodifiable set view of the individual printer state reason attributes at the given severity level in thisPrinterStateReasonsattribute.Methods in javax.print.attribute.standard with parameters of type PrinterStateReason Modifier and Type Method Description SeverityPrinterStateReasons. put(PrinterStateReason reason, Severity severity)Adds the given printer state reason to this printer state reasons attribute, associating it with the given severity level.Constructor parameters in javax.print.attribute.standard with type arguments of type PrinterStateReason Constructor Description PrinterStateReasons(Map<PrinterStateReason,Severity> map)Construct a new printer state reasons attribute that contains the samePrinterStateReason-to-Severitymappings as the given map.