PrinterStatus enum
Describes the status of the printer.
Each status represents a different state of the printer.
WARN_*
: Warnings for various paper or cartridge states.READY
: The printer is ready to print.OFFLINE
: The printer is offline.COMM
: Communication issues.ERR_*
: Errors related to paper, cartridges, or other printer components.
Note: Even if the status is ERROR
, attempt to print as some errors may not block printing.
Values
- WARN_CARTRIDGE → const PrinterStatus
-
Warning: Low or missing cartridge.
- WARN_SPECIAL_PAPER → const PrinterStatus
-
Warning: Special paper is required.
- WARN_STANDARD_PAPER → const PrinterStatus
-
Warning: Standard paper is required.
- WARN_PICK_PAPER → const PrinterStatus
-
Warning: Pick paper issue detected.
- WARN_THERMAL_PAPER → const PrinterStatus
-
Warning: Thermal paper is required.
- READY → const PrinterStatus
-
The printer is ready to print.
- OFFLINE → const PrinterStatus
-
The printer is offline.
- COMM → const PrinterStatus
-
Communication issues with the printer.
- UNKNOWN → const PrinterStatus
-
Printer status is unknown.
- ERR_PAPER_OUT → const PrinterStatus
-
Error: Paper is out.
- ERR_PAPER_JAM → const PrinterStatus
-
Error: Paper jam detected.
- ERR_PAPER_MISMATCH → const PrinterStatus
-
Error: Paper type mismatch.
- ERR_PRINTER_HOT → const PrinterStatus
-
Error: Printer is too hot.
- ERR_MOTOR_HOT → const PrinterStatus
-
Error: Printer motor is too hot.
- ERR_COVER → const PrinterStatus
-
Error: Printer cover is open.
- ERR_COVER_INCOMPLETE → const PrinterStatus
-
Error: Printer cover is not completely closed.
- ERR_CUTTER → const PrinterStatus
-
Error: Cutter issue detected.
- ERR_CARTRIDGE_LOSS → const PrinterStatus
-
Error: Cartridge is missing.
- ERR_CARTRIDGE_MISMATCH → const PrinterStatus
-
Error: Cartridge type mismatch.
- ERR_CARTRIDGE_EMPTY → const PrinterStatus
-
Error: Cartridge is empty.
- ERR_DUPLEX_LOSS → const PrinterStatus
-
Error: Duplex unit is missing.
- ERR_CARTON_LOSS → const PrinterStatus
-
Error: Carton is missing.
- ERR_CARTON_MISMATCH → const PrinterStatus
-
Error: Carton type mismatch.
- ERR_CARTON_EMPTY → const PrinterStatus
-
Error: Carton is empty.
- ERR_DRUM_LOSS → const PrinterStatus
-
Error: Drum unit is missing.
- ERR_DRUM_MISMATCH → const PrinterStatus
-
Error: Drum type mismatch.
- ERR_DRUM_EMPTY → const PrinterStatus
-
Error: Drum is empty.
- ERR_STEP → const PrinterStatus
-
Error: Stepper motor issue detected.
Properties
- 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
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.