| Package | Description | 
|---|---|
| javax.print.attribute.standard | Package javax.print.attribute.standard
contains classes for specific printing attributes. | 
| Modifier and Type | Field and Description | 
|---|---|
| static PrinterStateReason | PrinterStateReason. 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 PrinterStateReason | PrinterStateReason. COVER_OPENOne or more covers on the device are open. | 
| static PrinterStateReason | PrinterStateReason. DEVELOPER_EMPTYThe device is out of developer. | 
| static PrinterStateReason | PrinterStateReason. DEVELOPER_LOWThe device is low on developer. | 
| static PrinterStateReason | PrinterStateReason. DOOR_OPENOne or more doors on the device are open. | 
| static PrinterStateReason | PrinterStateReason. FUSER_OVER_TEMPThe fuser temperature is above normal. | 
| static PrinterStateReason | PrinterStateReason. FUSER_UNDER_TEMPThe fuser temperature is below normal. | 
| static PrinterStateReason | PrinterStateReason. INPUT_TRAY_MISSINGOne or more input trays are not in the device. | 
| static PrinterStateReason | PrinterStateReason. INTERLOCK_OPENOne or more interlock devices on the printer are unlocked. | 
| static PrinterStateReason | PrinterStateReason. INTERPRETER_RESOURCE_UNAVAILABLEAn interpreter resource is unavailable (e.g., font, form). | 
| static PrinterStateReason | PrinterStateReason. MARKER_SUPPLY_EMPTYThe device is out of at least one marker supply (e.g. | 
| static PrinterStateReason | PrinterStateReason. MARKER_SUPPLY_LOWThe device is low on at least one marker supply (e.g. | 
| static PrinterStateReason | PrinterStateReason. MARKER_WASTE_ALMOST_FULLThe device marker supply waste receptacle is almost full. | 
| static PrinterStateReason | PrinterStateReason. MARKER_WASTE_FULLThe device marker supply waste receptacle is full. | 
| static PrinterStateReason | PrinterStateReason. MEDIA_EMPTYAt least one input tray is empty. | 
| static PrinterStateReason | PrinterStateReason. MEDIA_JAMThe device has a media jam. | 
| static PrinterStateReason | PrinterStateReason. MEDIA_LOWAt least one input tray is low on media. | 
| static PrinterStateReason | PrinterStateReason. MEDIA_NEEDEDA tray has run out of media. | 
| static PrinterStateReason | PrinterStateReason. MOVING_TO_PAUSEDSomeone has paused the printer, but the device(s) are taking an
 appreciable time to stop. | 
| static PrinterStateReason | PrinterStateReason. OPC_LIFE_OVERThe optical photo conductor is no longer functioning. | 
| static PrinterStateReason | PrinterStateReason. OPC_NEAR_EOLThe optical photo conductor is near end of life. | 
| static PrinterStateReason | PrinterStateReason. OTHERThe printer has detected an error other than ones listed below. | 
| static PrinterStateReason | PrinterStateReason. OUTPUT_AREA_ALMOST_FULLOne or more output areas are almost full
 (e.g. | 
| static PrinterStateReason | PrinterStateReason. OUTPUT_AREA_FULLOne or more output areas are full (e.g. | 
| static PrinterStateReason | PrinterStateReason. OUTPUT_TRAY_MISSINGOne or more output trays are not in the device. | 
| static PrinterStateReason | PrinterStateReason. PAUSEDSomeone has paused the printer and the printer's  PrinterStateis STOPPED. | 
| static PrinterStateReason | PrinterStateReason. SHUTDOWNSomeone has removed a printer from service, and the device may be
 powered down or physically removed. | 
| static PrinterStateReason | PrinterStateReason. SPOOL_AREA_FULLThe limit of persistent storage allocated for spooling has been
 reached. | 
| static PrinterStateReason | PrinterStateReason. STOPPED_PARTLYWhen a printer controls more than one output device, this reason
 indicates that one or more output devices are stopped. | 
| static PrinterStateReason | PrinterStateReason. STOPPINGThe printer is in the process of stopping the device and will be
 stopped in a while. | 
| static PrinterStateReason | PrinterStateReason. 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 PrinterStateReason | PrinterStateReason. TONER_EMPTYThe device is out of toner. | 
| static PrinterStateReason | PrinterStateReason. TONER_LOWThe device is low on toner. | 
| Modifier and Type | Method and 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 this PrinterStateReasons
 attribute. | 
| Modifier and Type | Method and Description | 
|---|---|
| Severity | PrinterStateReasons. 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 and Description | 
|---|
| PrinterStateReasons(Map<PrinterStateReason,Severity> map)Construct a new printer state reasons attribute that contains the same
  PrinterStateReason-to-Severitymappings as the given map. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2015, Oracle and/or its affiliates.  All rights reserved.