PrinterStatus enum
Values
- initPrinterError → const PrinterStatus
-
const PrinterStatus('-1', 'Failed to initialize the printer!')
- normal → const PrinterStatus
-
const PrinterStatus('0', 'The printer is normally!')
- notPoweredOn → const PrinterStatus
-
const PrinterStatus('1', 'The printer is not connected or powered on!')
- notLibraryMatch → const PrinterStatus
-
const PrinterStatus('2', 'The printer and call library do not match')
- openPrintHead → const PrinterStatus
-
const PrinterStatus('3', 'Print head open!')
- cutterNotReset → const PrinterStatus
-
const PrinterStatus('4', 'The cutter is not reset!')
- overHeated → const PrinterStatus
-
const PrinterStatus('5', 'Overheated')
- blackLabelError → const PrinterStatus
-
const PrinterStatus('6', 'Black label error!')
- notPaperFeed → const PrinterStatus
-
const PrinterStatus('7', 'No Paper Feed')
- outOfPaper → const PrinterStatus
-
const PrinterStatus('8', 'Paper Running Out!')
- otherError → const PrinterStatus
-
const PrinterStatus('99', 'Other errors!')
Properties
- code → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
PrinterStatus> - A constant List of the values in this enum, in order of their declaration.