Package com.zebra.sdk.printer
Enum Class ZplPrintMode
- All Implemented Interfaces:
Serializable,Comparable<ZplPrintMode>,Constable
Enumeration of the various print modes supported by Zebra Printers.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionApplicator print modeCutter print modeDelayed cut print modeKiosk print modeLinerless peel print modeLinerless rewind print modePartial cutter print modePeel-off print modeRewind print modeRFID print modeTear-off print mode (this also implies Linerless Tear print mode)Unknown print mode -
Method Summary
Modifier and TypeMethodDescriptiontoString()The print mode - (e.g. "Rewind").static ZplPrintModeReturns the enum constant of this class with the specified name.static ZplPrintMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Enum Constant Details
-
REWIND
Rewind print mode -
PEEL_OFF
Peel-off print mode -
TEAR_OFF
Tear-off print mode (this also implies Linerless Tear print mode) -
CUTTER
Cutter print mode -
APPLICATOR
Applicator print mode -
DELAYED_CUT
Delayed cut print mode -
LINERLESS_PEEL
Linerless peel print mode -
LINERLESS_REWIND
Linerless rewind print mode -
PARTIAL_CUTTER
Partial cutter print mode -
RFID
RFID print mode -
KIOSK
Kiosk print mode -
UNKNOWN
Unknown print mode
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
toString
The print mode - (e.g. "Rewind").- Overrides:
toStringin classEnum<ZplPrintMode>- See Also:
-