public class PrinterStateReason extends EnumSyntax implements Attribute
PrinterState
attribute.
Class PrinterStateReason defines standard printer
state reason values. A Print Service implementation only needs to report
those printer state reasons which are appropriate for the particular
implementation; it does not have to report every defined printer state
reason.
Instances of PrinterStateReason do not appear in a Print Service's
attribute set directly.
Rather, a PrinterStateReasons
attribute appears in the Print Service's attribute set. The PrinterStateReasons
attribute contains zero, one, or
more than one PrinterStateReason objects which pertain to the
Print Service's status, and each PrinterStateReason object is
associated with a Severity
level of REPORT (least severe),
WARNING, or ERROR (most severe). The printer adds a PrinterStateReason
object to the Print Service's
PrinterStateReasons
attribute when the
corresponding condition becomes true of the printer, and the printer
removesthe PrinterStateReason object again when the corresponding
condition becomes false, regardless of whether the Print Service's overall
PrinterState
also changed.
IPP Compatibility:
The string values returned by each individual PrinterStateReason
and
associated Severity
object's toString()
methods, concatenated together with a hyphen ("-"
) in
between, gives the IPP keyword value for a PrinterStateReasons
.
The category name returned by getName()
gives the IPP
attribute name.
Modifier and Type | Field and Description |
---|---|
static PrinterStateReason |
CONNECTING_TO_DEVICE
The 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 |
COVER_OPEN
One or more covers on the device are open.
|
static PrinterStateReason |
DEVELOPER_EMPTY
The device is out of developer.
|
static PrinterStateReason |
DEVELOPER_LOW
The device is low on developer.
|
static PrinterStateReason |
DOOR_OPEN
One or more doors on the device are open.
|
static PrinterStateReason |
FUSER_OVER_TEMP
The fuser temperature is above normal.
|
static PrinterStateReason |
FUSER_UNDER_TEMP
The fuser temperature is below normal.
|
static PrinterStateReason |
INPUT_TRAY_MISSING
One or more input trays are not in the device.
|
static PrinterStateReason |
INTERLOCK_OPEN
One or more interlock devices on the printer are unlocked.
|
static PrinterStateReason |
INTERPRETER_RESOURCE_UNAVAILABLE
An interpreter resource is unavailable (e.g., font, form).
|
static PrinterStateReason |
MARKER_SUPPLY_EMPTY
The device is out of at least one marker supply (e.g.
|
static PrinterStateReason |
|