javax.print.attribute.standard

Class PrinterStateReason

public class PrinterStateReason extends EnumSyntax implements Attribute

The PrinterStateReason attribute provides additional information about the current state of the printer device. Its always part of the {@link javax.print.attribute.standard.PrinterStateReasons} printing attribute.

IPP Compatibility: PrinterStateReason is not an IPP 1.1 attribute itself but used inside the PrinterStateReasons attribute.

Field Summary
static PrinterStateReasonCONNECTING_TO_DEVICE
The printer object is connecting to the device.
static PrinterStateReasonCOVER_OPEN
One or more covers of the printer device are open.
static PrinterStateReasonDEVELOPER_EMPTY
The printer device is out of developer.
static PrinterStateReasonDEVELOPER_LOW
The printer device is low on developer.
static PrinterStateReasonDOOR_OPEN
One or more doors of the printer device are open.
static PrinterStateReasonFUSER_OVER_TEMP
The fuser of the printer device is over temperature.
static PrinterStateReasonFUSER_UNDER_TEMP
The fuser of the printer device is under the needed temperature.
static PrinterStateReasonINPUT_TRAY_MISSING
One or more input trays are missing in the printer device.
static PrinterStateReasonINTERLOCK_OPEN
One or more interlocks of the printer device are open.
static PrinterStateReasonINTERPRETER_RESOURCE_UNAVAILABLE
An interpreter resource (e.g. font) is unavailable.
static PrinterStateReasonMARKER_SUPPLY_EMPTY
The printer device is out of marker supply.
static PrinterStateReasonMARKER_SUPPLY_LOW
The printer device is low on marker supply.
static PrinterStateReasonMARKER_WASTE_ALMOST_FULL
The marker waste bin of the printer device is almost full.
static PrinterStateReasonMARKER_WASTE_FULL
The marker waste bin of the printer device is full.
static PrinterStateReasonMEDIA_EMPTY
The printer device is out of media.
static PrinterStateReasonMEDIA_JAM
A media jam occured in the printer device.
static PrinterStateReasonMEDIA_LOW
The printer device is low on media.
static PrinterStateReasonMEDIA_NEEDED
A media tray has run out of media.
static PrinterStateReasonMOVING_TO_PAUSED
Indicates that the printer has been paused by the pause printer operation and is currently moving to the pause state.
static PrinterStateReasonOPC_LIFE_OVER
The optical photo conductor has reached its end of life.
static PrinterStateReasonOPC_NEAR_EOL
The optical photo conductor is near its end of life (EOL).
static PrinterStateReasonOTHER
Any state other state not listed here.
static PrinterStateReasonOUTPUT_AREA_ALMOST_FULL
One or more output areas of the printer device are almost full.
static PrinterStateReasonOUTPUT_AREA_FULL
One or more output areas of the printer device are full.
static PrinterStateReasonOUTPUT_TRAY_MISSING
One or more output trays are missing in the printer device.
static PrinterStateReasonPAUSED
The printer device has be paused by the pause printer operation.
static PrinterStateReasonSHUTDOWN
The printer device has been shutdown or removed from service.
static PrinterStateReasonSPOOL_AREA_FULL
The printers spool area is currently full.
static PrinterStateReasonSTOPPED_PARTLY
The printer object has stopped partly.
static PrinterStateReasonSTOPPING
The printer object is stopping the printer device.
static PrinterStateReasonTIMED_OUT
The connection to the device has timed out.
static PrinterStateReasonTONER_EMPTY
The printer device is out of toner.
static PrinterStateReasonTONER_LOW
The printer device is low on toner.
Constructor Summary
protected PrinterStateReason(int value)
Constructs a PrinterStateReason object.
Method Summary
Class<? extends Attribute>getCategory()
Returns category of this class.
protected EnumSyntax[]getEnumValueTable()
Returns a table with the enumeration values for this object.
StringgetName()
Returns the name of this attribute.
protected String[]getStringTable()
Returns a table with the enumeration values represented as strings for this object.

Field Detail

CONNECTING_TO_DEVICE

public static final PrinterStateReason CONNECTING_TO_DEVICE
The printer object is connecting to the device. If a printer device is on the network the printer object may be unable to connect.

COVER_OPEN

public static final PrinterStateReason COVER_OPEN
One or more covers of the printer device are open.

DEVELOPER_EMPTY

public static final PrinterStateReason DEVELOPER_EMPTY
The printer device is out of developer.

DEVELOPER_LOW

public static final PrinterStateReason DEVELOPER_LOW
The printer device is low on developer.

DOOR_OPEN

public static final PrinterStateReason DOOR_OPEN
One or more doors of the printer device are open.

FUSER_OVER_TEMP

public static final PrinterStateReason FUSER_OVER_TEMP
The fuser of the printer device is over temperature.

FUSER_UNDER_TEMP

public static final PrinterStateReason FUSER_UNDER_TEMP
The fuser of the printer device is under the needed temperature.

INPUT_TRAY_MISSING

public static final PrinterStateReason INPUT_TRAY_MISSING
One or more input trays are missing in the printer device.

INTERLOCK_OPEN

public static final PrinterStateReason INTERLOCK_OPEN
One or more interlocks of the printer device are open.

INTERPRETER_RESOURCE_UNAVAILABLE

public static final PrinterStateReason INTERPRETER_RESOURCE_UNAVAILABLE
An interpreter resource (e.g. font) is unavailable.

MARKER_SUPPLY_EMPTY

public static final PrinterStateReason MARKER_SUPPLY_EMPTY
The printer device is out of marker supply.

MARKER_SUPPLY_LOW

public static final PrinterStateReason MARKER_SUPPLY_LOW
The printer device is low on marker supply.

MARKER_WASTE_ALMOST_FULL

public static final PrinterStateReason MARKER_WASTE_ALMOST_FULL
The marker waste bin of the printer device is almost full.

MARKER_WASTE_FULL

public static final PrinterStateReason MARKER_WASTE_FULL
The marker waste bin of the printer device is full.

MEDIA_EMPTY

public static final PrinterStateReason MEDIA_EMPTY
The printer device is out of media.

MEDIA_JAM

public static final PrinterStateReason MEDIA_JAM
A media jam occured in the printer device.

MEDIA_LOW

public static final PrinterStateReason MEDIA_LOW
The printer device is low on media.

MEDIA_NEEDED

public static final PrinterStateReason MEDIA_NEEDED
A media tray has run out of media.

MOVING_TO_PAUSED

public static final PrinterStateReason MOVING_TO_PAUSED
Indicates that the printer has been paused by the pause printer operation and is currently moving to the pause state.

OPC_LIFE_OVER

public static final PrinterStateReason OPC_LIFE_OVER
The optical photo conductor has reached its end of life.

OPC_NEAR_EOL

public static final PrinterStateReason OPC_NEAR_EOL
The optical photo conductor is near its end of life (EOL).

OTHER

public static final PrinterStateReason OTHER
Any state other state not listed here.

OUTPUT_AREA_ALMOST_FULL

public static final PrinterStateReason OUTPUT_AREA_ALMOST_FULL
One or more output areas of the printer device are almost full.

OUTPUT_AREA_FULL

public static final PrinterStateReason OUTPUT_AREA_FULL
One or more output areas of the printer device are full.

OUTPUT_TRAY_MISSING

public static final PrinterStateReason OUTPUT_TRAY_MISSING
One or more output trays are missing in the printer device.

PAUSED

public static final PrinterStateReason PAUSED
The printer device has be paused by the pause printer operation.

SHUTDOWN

public static final PrinterStateReason SHUTDOWN
The printer device has been shutdown or removed from service.

SPOOL_AREA_FULL

public static final PrinterStateReason SPOOL_AREA_FULL
The printers spool area is currently full. The printer is currently not able to accept jobs.

STOPPED_PARTLY

public static final PrinterStateReason STOPPED_PARTLY
The printer object has stopped partly. A printer object may control several physical output devices (e.g. a printer class in CUPS) and stop only some of the devices.

STOPPING

public static final PrinterStateReason STOPPING
The printer object is stopping the printer device.

TIMED_OUT

public static final PrinterStateReason TIMED_OUT
The connection to the device has timed out.

TONER_EMPTY

public static final PrinterStateReason TONER_EMPTY
The printer device is out of toner.

TONER_LOW

public static final PrinterStateReason TONER_LOW
The printer device is low on toner.

Constructor Detail

PrinterStateReason

protected PrinterStateReason(int value)
Constructs a PrinterStateReason object.

Parameters: value the enum value.

Method Detail

getCategory

public Class<? extends Attribute> getCategory()
Returns category of this class.

Returns: The class PrintStateReason itself.

getEnumValueTable

protected EnumSyntax[] getEnumValueTable()
Returns a table with the enumeration values for this object.

Returns: The enumeration values.

getName

public final String getName()
Returns the name of this attribute.

Returns: The name "printer-state-reason".

getStringTable

protected String[] getStringTable()
Returns a table with the enumeration values represented as strings for this object.

Returns: The enumeration values as strings.