javax.print.attribute.standard

Class PrinterStateReason

Implemented Interfaces:
Attribute, Cloneable, Serializable

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

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, getEnumValueTable, getOffset, getStringTable, getValue, hashCode, readResolve, toString

Methods inherited from class java.lang.Object

clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Details

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 Details

PrinterStateReason

protected PrinterStateReason(int value)
Constructs a PrinterStateReason object.
Parameters:
value - the enum value.

Method Details

? extends Attribute> getCategory

public Class< ? extends Attribute> getCategory()
Returns category of this class.
Specified by:
? extends Attribute> getCategory in interface Attribute
Returns:
The class PrintStateReason itself.

getEnumValueTable

protected EnumSyntax[] getEnumValueTable()
Returns a table with the enumeration values for this object.
Overrides:
getEnumValueTable in interface EnumSyntax
Returns:
The enumeration values.

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 interface EnumSyntax
Returns:
The enumeration values as strings.

PrinterStateReason.java -- Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and conditions of the GNU General Public License cover the whole combination. As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.