JobState is a printing attribute class, an enumeration, that
identifies the current state of a print job. Class JobState defines
standard job state values. A Print Service implementation only needs to
report those job states which are appropriate for the particular
implementation; it does not have to report every defined job state. The
JobStateReasons attribute augments the
JobState attribute to give more detailed information about the job in
the given job state.
IPP Compatibility: 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 JobState | ABORTED
The job has been aborted by the system (usually while the job was in the
|
| public static final JobState | CANCELED
The job has been canceled by some human agency, the printer has completed canceling the job, and all job status attributes have reached their final values for the job. |
| public static final JobState | COMPLETED
The job has completed successfully or with warnings or errors after processing, all of the job media sheets have been successfully stacked in the appropriate output bin(s), and all job status attributes have reached their final values for the job. |
| private static final JobState[] | myEnumValueTable
The enumeration value table for class |
| private static final String[] | myStringTable
The string table for class |
| public static final JobState | PENDING
The job is a candidate to start processing, but is not yet processing. |
| public static final JobState | PENDING_HELD
The job is not a candidate for processing for any number of reasons but
will return to the |
| public static final JobState | PROCESSING
The job is processing. |
| public static final JobState | PROCESSING_STOPPED
The job has stopped while processing for any number of reasons and will
return to the |
| private static final long | serialVersionUID
Use serialVersionUID from JDK 1.4 for interoperability.
|
| public static final JobState | UNKNOWN
The job state is unknown. |
| Access | Constructor and Description |
|---|---|
| protected | JobState(int
Integer value value)Construct a new job state 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 |
| ABORTED | back to summary |
|---|---|
| public static final JobState ABORTED The job has been aborted by the system (usually while the job was in the
| |
| CANCELED | back to summary |
|---|---|
| public static final JobState CANCELED The job has been canceled by some human agency, the printer has completed
canceling the job, and all job status attributes have reached their final
values for the job. While the printer is canceling the job, the job
remains in its current state, but the job's | |
| COMPLETED | back to summary |
|---|---|
| public static final JobState COMPLETED The job has completed successfully or with warnings or errors after
processing, all of the job media sheets have been successfully stacked in
the appropriate output bin(s), and all job status attributes have reached
their final values for the job. The job's
| |
| myEnumValueTable | back to summary |
|---|---|
| private static final JobState[] myEnumValueTable The enumeration value table for class | |
| myStringTable | back to summary |
|---|---|
| private static final String[] myStringTable The string table for class | |
| PENDING | back to summary |
|---|---|
| public static final JobState PENDING The job is a candidate to start processing, but is not yet processing. | |
| PENDING_HELD | back to summary |
|---|---|
| public static final JobState PENDING_HELD The job is not a candidate for processing for any number of reasons but
will return to the | |
| PROCESSING | back to summary |
|---|---|
| public static final JobState PROCESSING The job is processing. One or more of the following activities is occurring:
PROCESSING state, the entire job state
includes the detailed status represented in the printer's
PrinterState and
PrinterStateReasons attributes.
Implementations may, though they need not, include additional values in
the job's | |
| PROCESSING_STOPPED | back to summary |
|---|---|
| public static final JobState PROCESSING_STOPPED The job has stopped while processing for any number of reasons and will
return to the
The job's Note When an output device is stopped, the device usually
indicates its condition in human readable form locally at the device. A
client can obtain more complete device status remotely by querying the
printer's | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides javax. Use serialVersionUID from JDK 1.4 for interoperability. | |
| UNKNOWN | back to summary |
|---|---|
| public static final JobState UNKNOWN The job state is unknown. | |
| JobState | back to summary |
|---|---|
| protected JobState(int value) Construct a new job state 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
| |