javax.print.attribute.standard
Class PrinterStateReason

java.lang.Object
  extended by javax.print.attribute.EnumSyntax
      extended by javax.print.attribute.standard.PrinterStateReason
All Implemented Interfaces:
Serializable, Cloneable, Attribute

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 PrinterStateReasons printing attribute.

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

See Also:
Serialized Form

Field Summary
static PrinterStateReason CONNECTING_TO_DEVICE
          The printer object is connecting to the device.
static PrinterStateReason COVER_OPEN
          One or more covers of the printer device are open.
static PrinterStateReason DEVELOPER_EMPTY
          The printer device is out of developer.
static PrinterStateReason DEVELOPER_LOW
          The printer device is low on developer.
static PrinterStateReason DOOR_OPEN
          One or more doors of the printer device are open.
static PrinterStateReason FUSER_OVER_TEMP
          The fuser of the printer device is over temperature.
static PrinterStateReason FUSER_UNDER_TEMP
          The fuser of the printer device is under the needed temperature.
static PrinterStateReason INPUT_TRAY_MISSING
          One or more input trays are missing in the printer device.
static PrinterStateReason INTERLOCK_OPEN
          One or more interlocks of the printer device are open.
static PrinterStateReason INTERPRETER_RESOURCE_UNAVAILABLE
          An interpreter resource (e.g. font) is unavailable.
static PrinterStateReason MARKER_SUPPLY_EMPTY
          The printer device is out of marker supply.
static PrinterStateReason MARKER_SUPPLY_LOW
          The printer device is low on marker supply.
static PrinterStateReason MARKER_WASTE_ALMOST_FULL
          The marker waste bin of the printer device is almost full.
static PrinterStateReason MARKER_WASTE_FULL
          The marker waste bin of the printer device is full.
static PrinterStateReason MEDIA_EMPTY
          The printer device is out of media.
static PrinterStateReason MEDIA_JAM
          A media jam occured in the printer device.
static PrinterStateReason MEDIA_LOW
          The printer device is low on media.
static PrinterStateReason MEDIA_NEEDED
          A media tray has run out of media.
static PrinterStateReason MOVING_TO_PAUSED
          Indicates that the printer has been paused by the pause printer operation and is currently moving to the pause state.
static PrinterStateReason OPC_LIFE_OVER
          The optical photo conductor has reached its end of life.
static PrinterStateReason OPC_NEAR_EOL
          The optical photo conductor is near its end of life (EOL).
static PrinterStateReason OTHER
          Any state other state not listed here.
static PrinterStateReason OUTPUT_AREA_ALMOST_FULL
          One or more output areas of the printer device are almost full.
static PrinterStateReason OUTPUT_AREA_FULL
          One or more output areas of the printer device are full.
static PrinterStateReason OUTPUT_TRAY_MISSING
          One or more output trays are missing in the printer device.
static PrinterStateReason PAUSED
          The printer device has be paused by the pause printer operation.
static PrinterStateReason SHUTDOWN
          The printer device has been shutdown or removed from service.
static PrinterStateReason SPOOL_AREA_FULL
          The printers spool area is currently full.
static PrinterStateReason STOPPED_PARTLY
          The printer object has stopped partly.
static PrinterStateReason STOPPING
          The printer object is stopping the printer device.
static PrinterStateReason TIMED_OUT
          The connection to the device has timed out.
static PrinterStateReason TONER_EMPTY
          The printer device is out of toner.
static PrinterStateReason TONER_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.
 String getName()
          Returns the name of this attribute.
protected  String[] getStringTable()
          Returns a table with the enumeration values represented as strings for this object.
 
Methods inherited from class javax.print.attribute.EnumSyntax
clone, getOffset, getValue, hashCode, readResolve, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

OTHER

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


MEDIA_NEEDED

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


MEDIA_JAM

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


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.


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.


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.


TIMED_OUT

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


STOPPING

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


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.


TONER_LOW

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


TONER_EMPTY

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


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.


COVER_OPEN

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


INTERLOCK_OPEN

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


DOOR_OPEN

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


INPUT_TRAY_MISSING

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


MEDIA_LOW

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


MEDIA_EMPTY

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


OUTPUT_TRAY_MISSING

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


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.


MARKER_SUPPLY_LOW

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


MARKER_SUPPLY_EMPTY

public static final PrinterStateReason MARKER_SUPPLY_EMPTY
The printer device is out of 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.


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.


OPC_NEAR_EOL

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


OPC_LIFE_OVER

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


DEVELOPER_LOW

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


DEVELOPER_EMPTY

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


INTERPRETER_RESOURCE_UNAVAILABLE

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

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.

Specified by:
getCategory in interface Attribute
Returns:
The class PrintStateReason itself.

getName

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

Specified by:
getName in interface Attribute
Returns:
The name "printer-state-reason".

getStringTable

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

Overrides:
getStringTable in class EnumSyntax
Returns:
The enumeration values as strings.

getEnumValueTable

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

Overrides:
getEnumValueTable in class EnumSyntax
Returns:
The enumeration values.