javax.print.attribute.standard
public final class PrinterState extends EnumSyntax implements PrintServiceAttribute
PrinterState
printing attribute reports
the current state of the printer device.
The PrinterStateReasons attribute provides further detailed information about the given printer state. Detailed information about the printer state and printer state reasons attributes can be found in the RFC 2911.
IPP Compatibility: PrinterState is an IPP 1.1 attribute.
Field Summary | |
---|---|
static PrinterState | IDLE
The printer device is in idle state. |
static PrinterState | PROCESSING
The printer device is in processing state. |
static PrinterState | STOPPED
The printer device has stopped. |
static PrinterState | UNKNOWN
The state is unknown currently. |
Constructor Summary | |
---|---|
protected | PrinterState(int value)
Constructs a PrinterState 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.
|
PrinterState
object.
Parameters: value the enum value.
Returns: The class PrinterState
itself.
Returns: The enumeration values.
Returns: The name "printer-state".
Returns: The enumeration values as strings.