public enum PrinterReturnCode extends java.lang.Enum<PrinterReturnCode>
Enum Constant and Description |
---|
ABNORMAL_VOLTAGE |
CUTTER_ERROR |
DESTROYED |
DEVICE_BUSY |
FAILED |
HEAT_LIMITED |
INVALID_FILE_PATH |
OUT_OF_PAPER |
PARAM_ERROR |
PPSERR |
SUCCESS |
Modifier and Type | Field and Description |
---|---|
byte |
value |
Modifier and Type | Method and Description |
---|---|
static PrinterReturnCode |
getEnum(byte value) |
static PrinterReturnCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PrinterReturnCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrinterReturnCode SUCCESS
public static final PrinterReturnCode FAILED
public static final PrinterReturnCode DEVICE_BUSY
public static final PrinterReturnCode OUT_OF_PAPER
public static final PrinterReturnCode PPSERR
public static final PrinterReturnCode INVALID_FILE_PATH
public static final PrinterReturnCode HEAT_LIMITED
public static final PrinterReturnCode DESTROYED
public static final PrinterReturnCode ABNORMAL_VOLTAGE
public static final PrinterReturnCode CUTTER_ERROR
public static final PrinterReturnCode PARAM_ERROR
public static PrinterReturnCode[] values()
for (PrinterReturnCode c : PrinterReturnCode.values()) System.out.println(c);
public static PrinterReturnCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static PrinterReturnCode getEnum(byte value)