PrinterIsAcceptingJobs is a printing attribute class, an
enumeration, that indicates whether the printer is currently able to accept
jobs. This value is independent of the PrinterState and
PrinterStateReasons attributes because its value
does not affect the current job; rather it affects future jobs. If the value
is NOT_ACCEPTING_JOBS, the printer will reject jobs even when the
PrinterState is IDLE. If value is
ACCEPTING_JOBS, the Printer will accept jobs even when the
PrinterState is STOPPED.
IPP Compatibility: The IPP boolean value is "true" for
ACCEPTING_JOBS and "false" for NOT_ACCEPTING_JOBS. The
category name returned by getName() is the IPP attribute name. The
enumeration's integer value is the IPP enum value. The toString()
method returns the IPP string representation of the attribute value.
| Modifier and Type | Field and Description |
|---|---|
| public static final PrinterIsAcceptingJobs | ACCEPTING_JOBS
The printer is currently accepting jobs. |
| private static final PrinterIsAcceptingJobs[] | myEnumValueTable
The enumeration value table for class |
| private static final String[] | myStringTable
The string table for class |
| public static final PrinterIsAcceptingJobs | NOT_ACCEPTING_JOBS
The printer is currently rejecting any jobs sent to it. |
| private static final long | serialVersionUID
Use serialVersionUID from JDK 1.4 for interoperability.
|
| Access | Constructor and Description |
|---|---|
| protected | PrinterIsAcceptingJobs(int
Integer value value)Construct a new printer is accepting jobs enumeration value with the given integer value. |
| Modifier and Type | Method and Description |
|---|---|
| public final Class | Returns: printing attribute class (category), an instance of classjava.Implements javax. Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
| protected EnumSyntax[] | getEnumValueTable()
Overrides javax. Returns the enumeration value table for class
|
| public final String | Returns: attribute category nameImplements javax. Get the name of the category of which this attribute value is an instance. |
| protected String[] | getStringTable()
Overrides javax. Returns the string table for class |
| ACCEPTING_JOBS | back to summary |
|---|---|
| public static final PrinterIsAcceptingJobs ACCEPTING_JOBS The printer is currently accepting jobs. | |
| myEnumValueTable | back to summary |
|---|---|
| private static final PrinterIsAcceptingJobs[] myEnumValueTable The enumeration value table for class | |
| myStringTable | back to summary |
|---|---|
| private static final String[] myStringTable The string table for class | |
| NOT_ACCEPTING_JOBS | back to summary |
|---|---|
| public static final PrinterIsAcceptingJobs NOT_ACCEPTING_JOBS The printer is currently rejecting any jobs sent to it. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides javax. Use serialVersionUID from JDK 1.4 for interoperability. | |
| PrinterIsAcceptingJobs | back to summary |
|---|---|
| protected PrinterIsAcceptingJobs(int value) Construct a new printer is accepting jobs enumeration value with the given integer value.
| |
| getCategory | back to summary |
|---|---|
| public final Class Implements javax. Get the printing attribute class which is to be used as the "category" for this printing attribute value.
For class
| |
| getEnumValueTable | back to summary |
|---|---|
| protected EnumSyntax[] getEnumValueTable() Overrides javax. Returns the enumeration value table for class
| |
| getName | back to summary |
|---|---|
| public final String getName() Implements javax. Get the name of the category of which this attribute value is an instance.
For class | |
| getStringTable | back to summary |
|---|---|
| protected String[] getStringTable() Overrides javax. Returns the string table for class
| |