javax.print.attribute.standard
Class PrinterStateReason

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

public class PrinterStateReason
extends EnumSyntax sample code for javax.print.attribute.EnumSyntax definition code for javax.print.attribute.EnumSyntax
implements Attribute sample code for javax.print.attribute.Attribute definition code for javax.print.attribute.Attribute

Class PrinterStateReason is a printing attribute class, an enumeration, that provides additional information about the printer's current state, i.e., information that augments the value of the printer's PrinterState sample code for javax.print.attribute.standard.PrinterState definition code for javax.print.attribute.standard.PrinterState attribute. Class PrinterStateReason defines standard printer state reason values. A Print Service implementation only needs to report those printer state reasons which are appropriate for the particular implementation; it does not have to report every defined printer state reason.

Instances of PrinterStateReason do not appear in a Print Service's attribute set directly. Rather, a PrinterStateReasons sample code for javax.print.attribute.standard.PrinterStateReasons definition code for javax.print.attribute.standard.PrinterStateReasons attribute appears in the Print Service's attribute set. The PrinterStateReasons sample code for javax.print.attribute.standard.PrinterStateReasons definition code for javax.print.attribute.standard.PrinterStateReasons attribute contains zero, one, or more than one PrinterStateReason objects which pertain to the Print Service's status, and each PrinterStateReason object is associated with a Severity sample code for javax.print.attribute.standard.Severity definition code for javax.print.attribute.standard.Severity level of REPORT (least severe), WARNING, or ERROR (most severe). The printer adds a PrinterStateReason object to the Print Service's PrinterStateReasons sample code for javax.print.attribute.standard.PrinterStateReasons definition code for javax.print.attribute.standard.PrinterStateReasons attribute when the corresponding condition becomes true of the printer, and the printer removesthe PrinterStateReason object again when the corresponding condition becomes false, regardless of whether the Print Service's overall PrinterState sample code for javax.print.attribute.standard.PrinterState definition code for javax.print.attribute.standard.PrinterState also changed.

IPP Compatibility: The string values returned by each individual PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason and associated Severity sample code for javax.print.attribute.standard.Severity definition code for javax.print.attribute.standard.Severity object's toString() methods, concatenated together with a hyphen ("-") in between, gives the IPP keyword value for a PrinterStateReasons sample code for javax.print.attribute.standard.PrinterStateReasons definition code for javax.print.attribute.standard.PrinterStateReasons . The category name returned by getName() gives the IPP attribute name.

See Also:
Serialized Form

Field Summary
static PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason CONNECTING_TO_DEVICE sample code for javax.print.attribute.standard.PrinterStateReason.CONNECTING_TO_DEVICE definition code for javax.print.attribute.standard.PrinterStateReason.CONNECTING_TO_DEVICE
          The printer has scheduled a job on the output device and is in the process of connecting to a shared network output device (and might not be able to actually start printing the job for an arbitrarily long time depending on the usage of the output device by other servers on the network).
static PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason COVER_OPEN sample code for javax.print.attribute.standard.PrinterStateReason.COVER_OPEN definition code for javax.print.attribute.standard.PrinterStateReason.COVER_OPEN
          One or more covers on the device are open.
static PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason DEVELOPER_EMPTY sample code for javax.print.attribute.standard.PrinterStateReason.DEVELOPER_EMPTY definition code for javax.print.attribute.standard.PrinterStateReason.DEVELOPER_EMPTY
          The device is out of developer.
static PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason DEVELOPER_LOW sample code for javax.print.attribute.standard.PrinterStateReason.DEVELOPER_LOW definition code for javax.print.attribute.standard.PrinterStateReason.DEVELOPER_LOW
          The device is low on developer.
static PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason DOOR_OPEN sample code for javax.print.attribute.standard.PrinterStateReason.DOOR_OPEN definition code for javax.print.attribute.standard.PrinterStateReason.DOOR_OPEN
          One or more doors on the device are open.
static PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason FUSER_OVER_TEMP sample code for javax.print.attribute.standard.PrinterStateReason.FUSER_OVER_TEMP definition code for javax.print.attribute.standard.PrinterStateReason.FUSER_OVER_TEMP
          The fuser temperature is above normal.
static PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason FUSER_UNDER_TEMP sample code for javax.print.attribute.standard.PrinterStateReason.FUSER_UNDER_TEMP definition code for javax.print.attribute.standard.PrinterStateReason.FUSER_UNDER_TEMP
          The fuser temperature is below normal.
static PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason INPUT_TRAY_MISSING sample code for javax.print.attribute.standard.PrinterStateReason.INPUT_TRAY_MISSING definition code for javax.print.attribute.standard.PrinterStateReason.INPUT_TRAY_MISSING
          One or more input trays are not in the device.
static PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason INTERLOCK_OPEN sample code for javax.print.attribute.standard.PrinterStateReason.INTERLOCK_OPEN definition code for javax.print.attribute.standard.PrinterStateReason.INTERLOCK_OPEN
          One or more interlock devices on the printer are unlocked.
static PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason INTERPRETER_RESOURCE_UNAVAILABLE sample code for javax.print.attribute.standard.PrinterStateReason.INTERPRETER_RESOURCE_UNAVAILABLE definition code for javax.print.attribute.standard.PrinterStateReason.INTERPRETER_RESOURCE_UNAVAILABLE
          An interpreter resource is unavailable (e.g., font, form).
static PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason MARKER_SUPPLY_EMPTY sample code for javax.print.attribute.standard.PrinterStateReason.MARKER_SUPPLY_EMPTY definition code for javax.print.attribute.standard.PrinterStateReason.MARKER_SUPPLY_EMPTY
          The device is out of at least one marker supply (e.g.
static PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason MARKER_SUPPLY_LOW sample code for javax.print.attribute.standard.PrinterStateReason.MARKER_SUPPLY_LOW definition code for javax.print.attribute.standard.PrinterStateReason.MARKER_SUPPLY_LOW
          The device is low on at least one marker supply (e.g.
static PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason MARKER_WASTE_ALMOST_FULL sample code for javax.print.attribute.standard.PrinterStateReason.MARKER_WASTE_ALMOST_FULL definition code for javax.print.attribute.standard.PrinterStateReason.MARKER_WASTE_ALMOST_FULL
          The device marker supply waste receptacle is almost full.
static PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason MARKER_WASTE_FULL sample code for javax.print.attribute.standard.PrinterStateReason.MARKER_WASTE_FULL definition code for javax.print.attribute.standard.PrinterStateReason.MARKER_WASTE_FULL
          The device marker supply waste receptacle is full.
static PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason MEDIA_EMPTY sample code for javax.print.attribute.standard.PrinterStateReason.MEDIA_EMPTY definition code for javax.print.attribute.standard.PrinterStateReason.MEDIA_EMPTY
          At least one input tray is empty.
static PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason MEDIA_JAM sample code for javax.print.attribute.standard.PrinterStateReason.MEDIA_JAM definition code for javax.print.attribute.standard.PrinterStateReason.MEDIA_JAM
          The device has a media jam.
static PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason MEDIA_LOW sample code for javax.print.attribute.standard.PrinterStateReason.MEDIA_LOW definition code for javax.print.attribute.standard.PrinterStateReason.MEDIA_LOW
          At least one input tray is low on media.
static PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason MEDIA_NEEDED sample code for javax.print.attribute.standard.PrinterStateReason.MEDIA_NEEDED definition code for javax.print.attribute.standard.PrinterStateReason.MEDIA_NEEDED
          A tray has run out of media.
static PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason MOVING_TO_PAUSED sample code for javax.print.attribute.standard.PrinterStateReason.MOVING_TO_PAUSED definition code for javax.print.attribute.standard.PrinterStateReason.MOVING_TO_PAUSED
          Someone has paused the printer, but the device(s) are taking an appreciable time to stop.
static PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason OPC_LIFE_OVER sample code for javax.print.attribute.standard.PrinterStateReason.OPC_LIFE_OVER definition code for javax.print.attribute.standard.PrinterStateReason.OPC_LIFE_OVER
          The optical photo conductor is no longer functioning.
static PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason OPC_NEAR_EOL sample code for javax.print.attribute.standard.PrinterStateReason.OPC_NEAR_EOL definition code for javax.print.attribute.standard.PrinterStateReason.OPC_NEAR_EOL
          The optical photo conductor is near end of life.
static PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason OTHER sample code for javax.print.attribute.standard.PrinterStateReason.OTHER definition code for javax.print.attribute.standard.PrinterStateReason.OTHER
          The printer has detected an error other than ones listed below.
static PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason OUTPUT_AREA_ALMOST_FULL sample code for javax.print.attribute.standard.PrinterStateReason.OUTPUT_AREA_ALMOST_FULL definition code for javax.print.attribute.standard.PrinterStateReason.OUTPUT_AREA_ALMOST_FULL
          One or more output areas are almost full (e.g.
static PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason OUTPUT_AREA_FULL sample code for javax.print.attribute.standard.PrinterStateReason.OUTPUT_AREA_FULL definition code for javax.print.attribute.standard.PrinterStateReason.OUTPUT_AREA_FULL
          One or more output areas are full (e.g.
static PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason OUTPUT_TRAY_MISSING sample code for javax.print.attribute.standard.PrinterStateReason.OUTPUT_TRAY_MISSING definition code for javax.print.attribute.standard.PrinterStateReason.OUTPUT_TRAY_MISSING
          One or more output trays are not in the device.
static PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason PAUSED sample code for javax.print.attribute.standard.PrinterStateReason.PAUSED definition code for javax.print.attribute.standard.PrinterStateReason.PAUSED
          Someone has paused the printer and the printer's PrinterState sample code for javax.print.attribute.standard.PrinterState definition code for javax.print.attribute.standard.PrinterState is STOPPED.
static PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason SHUTDOWN sample code for javax.print.attribute.standard.PrinterStateReason.SHUTDOWN definition code for javax.print.attribute.standard.PrinterStateReason.SHUTDOWN
          Someone has removed a printer from service, and the device may be powered down or physically removed.
static PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason SPOOL_AREA_FULL sample code for javax.print.attribute.standard.PrinterStateReason.SPOOL_AREA_FULL definition code for javax.print.attribute.standard.PrinterStateReason.SPOOL_AREA_FULL
          The limit of persistent storage allocated for spooling has been reached.
static PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason STOPPED_PARTLY sample code for javax.print.attribute.standard.PrinterStateReason.STOPPED_PARTLY definition code for javax.print.attribute.standard.PrinterStateReason.STOPPED_PARTLY
          When a printer controls more than one output device, this reason indicates that one or more output devices are stopped.
static PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason STOPPING sample code for javax.print.attribute.standard.PrinterStateReason.STOPPING definition code for javax.print.attribute.standard.PrinterStateReason.STOPPING
          The printer is in the process of stopping the device and will be stopped in a while.
static PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason TIMED_OUT sample code for javax.print.attribute.standard.PrinterStateReason.TIMED_OUT definition code for javax.print.attribute.standard.PrinterStateReason.TIMED_OUT
          The server was able to connect to the output device (or is always connected), but was unable to get a response from the output device.
static PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason TONER_EMPTY sample code for javax.print.attribute.standard.PrinterStateReason.TONER_EMPTY definition code for javax.print.attribute.standard.PrinterStateReason.TONER_EMPTY
          The device is out of toner.
static PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason TONER_LOW sample code for javax.print.attribute.standard.PrinterStateReason.TONER_LOW definition code for javax.print.attribute.standard.PrinterStateReason.TONER_LOW
          The device is low on toner.
 
Constructor Summary
protected PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason.PrinterStateReason(int) definition code for javax.print.attribute.standard.PrinterStateReason.PrinterStateReason(int) (int value)
          Construct a new printer state reason enumeration value with the given integer value.
 
Method Summary
 Class sample code for java.lang.Class definition code for java.lang.Class <? extends Attribute sample code for javax.print.attribute.Attribute definition code for javax.print.attribute.Attribute > getCategory sample code for javax.print.attribute.standard.PrinterStateReason.getCategory() definition code for javax.print.attribute.standard.PrinterStateReason.getCategory() ()
          Get the printing attribute class which is to be used as the "category" for this printing attribute value.
protected  EnumSyntax sample code for javax.print.attribute.EnumSyntax definition code for javax.print.attribute.EnumSyntax [] getEnumValueTable sample code for javax.print.attribute.standard.PrinterStateReason.getEnumValueTable() definition code for javax.print.attribute.standard.PrinterStateReason.getEnumValueTable() ()
          Returns the enumeration value table for class PrinterStateReason.
 String sample code for java.lang.String definition code for java.lang.String getName sample code for javax.print.attribute.standard.PrinterStateReason.getName() definition code for javax.print.attribute.standard.PrinterStateReason.getName() ()
          Get the name of the category of which this attribute value is an instance.
protected  String sample code for java.lang.String definition code for java.lang.String [] getStringTable sample code for javax.print.attribute.standard.PrinterStateReason.getStringTable() definition code for javax.print.attribute.standard.PrinterStateReason.getStringTable() ()
          Returns the string table for class PrinterStateReason.
 
Methods inherited from class javax.print.attribute.EnumSyntax sample code for javax.print.attribute.EnumSyntax definition code for javax.print.attribute.EnumSyntax
clone sample code for javax.print.attribute.EnumSyntax.clone() definition code for javax.print.attribute.EnumSyntax.clone() , getOffset sample code for javax.print.attribute.EnumSyntax.getOffset() definition code for javax.print.attribute.EnumSyntax.getOffset() , getValue sample code for javax.print.attribute.EnumSyntax.getValue() definition code for javax.print.attribute.EnumSyntax.getValue() , hashCode sample code for javax.print.attribute.EnumSyntax.hashCode() definition code for javax.print.attribute.EnumSyntax.hashCode() , readResolve sample code for javax.print.attribute.EnumSyntax.readResolve() definition code for javax.print.attribute.EnumSyntax.readResolve() , toString sample code for javax.print.attribute.EnumSyntax.toString() definition code for javax.print.attribute.EnumSyntax.toString()
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Field Detail

OTHER sample code for javax.print.attribute.standard.PrinterStateReason.OTHER

public static final PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason  OTHER
The printer has detected an error other than ones listed below.


MEDIA_NEEDED sample code for javax.print.attribute.standard.PrinterStateReason.MEDIA_NEEDED

public static final PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason  MEDIA_NEEDED
A tray has run out of media.


MEDIA_JAM sample code for javax.print.attribute.standard.PrinterStateReason.MEDIA_JAM

public static final PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason  MEDIA_JAM
The device has a media jam.


MOVING_TO_PAUSED sample code for javax.print.attribute.standard.PrinterStateReason.MOVING_TO_PAUSED

public static final PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason  MOVING_TO_PAUSED
Someone has paused the printer, but the device(s) are taking an appreciable time to stop. Later, when all output has stopped, the PrinterState sample code for javax.print.attribute.standard.PrinterState definition code for javax.print.attribute.standard.PrinterState becomes STOPPED, and the PAUSED value replaces the MOVING_TO_PAUSED value in the PrinterStateReasons sample code for javax.print.attribute.standard.PrinterStateReasons definition code for javax.print.attribute.standard.PrinterStateReasons attribute. This value must be supported if the printer can be paused and the implementation takes significant time to pause a device in certain circumstances.


PAUSED sample code for javax.print.attribute.standard.PrinterStateReason.PAUSED

public static final PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason  PAUSED
Someone has paused the printer and the printer's PrinterState sample code for javax.print.attribute.standard.PrinterState definition code for javax.print.attribute.standard.PrinterState is STOPPED. In this state, a printer must not produce printed output, but it must perform other operations requested by a client. If a printer had been printing a job when the printer was paused, the Printer must resume printing that job when the printer is no longer paused and leave no evidence in the printed output of such a pause. This value must be supported if the printer can be paused.


SHUTDOWN sample code for javax.print.attribute.standard.PrinterStateReason.SHUTDOWN

public static final PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason  SHUTDOWN
Someone has removed a printer from service, and the device may be powered down or physically removed. In this state, a printer must not produce printed output, and unless the printer is realized by a print server that is still active, the printer must perform no other operations requested by a client. If a printer had been printing a job when it was shut down, the printer need not resume printing that job when the printer is no longer shut down. If the printer resumes printing such a job, it may leave evidence in the printed output of such a shutdown, e.g. the part printed before the shutdown may be printed a second time after the shutdown.


CONNECTING_TO_DEVICE sample code for javax.print.attribute.standard.PrinterStateReason.CONNECTING_TO_DEVICE

public static final PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason  CONNECTING_TO_DEVICE
The printer has scheduled a job on the output device and is in the process of connecting to a shared network output device (and might not be able to actually start printing the job for an arbitrarily long time depending on the usage of the output device by other servers on the network).


TIMED_OUT sample code for javax.print.attribute.standard.PrinterStateReason.TIMED_OUT

public static final PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason  TIMED_OUT
The server was able to connect to the output device (or is always connected), but was unable to get a response from the output device.


STOPPING sample code for javax.print.attribute.standard.PrinterStateReason.STOPPING

public static final PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason  STOPPING
The printer is in the process of stopping the device and will be stopped in a while. When the device is stopped, the printer will change the PrinterState sample code for javax.print.attribute.standard.PrinterState definition code for javax.print.attribute.standard.PrinterState to STOPPED. The STOPPING reason is never an error, even for a printer with a single output device. When an output device ceases accepting jobs, the printer's PrinterStateReasons sample code for javax.print.attribute.standard.PrinterStateReasons definition code for javax.print.attribute.standard.PrinterStateReasons will have this reason while the output device completes printing.


STOPPED_PARTLY sample code for javax.print.attribute.standard.PrinterStateReason.STOPPED_PARTLY

public static final PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason  STOPPED_PARTLY
When a printer controls more than one output device, this reason indicates that one or more output devices are stopped. If the reason's severity is a report, fewer than half of the output devices are stopped. If the reason's severity is a warning, half or more but fewer than all of the output devices are stopped.


TONER_LOW sample code for javax.print.attribute.standard.PrinterStateReason.TONER_LOW

public static final PrinterStateReason sample code for javax.print.attribute.standard.PrinterStateReason definition code for javax.print.attribute.standard.PrinterStateReason  TONER_LOW
The device is low on toner.


TONER_EMPTY sample code for javax.print.attribute.standard.PrinterStateReason.TONER_EMPTY