PrinterStatusQuery class

Status queries in the language the job is written in.

Properties

hashCode → int
The hash code for this object.
no setterinherited
query → Uint8List
final
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
parse(Uint8List? reply) → PrinterReadiness
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

escPos → PrinterStatusQuery
ESC/POS DLE EOT 4 (roll paper sensor), then DLE EOT 2 would give the cover; the paper sensor alone covers the common case.
final
tspl → PrinterStatusQuery
TSPL <ESC>!?: one status byte, 0 = ready.
final

Static Methods

forJob(List<int> bytes) → PrinterStatusQuery
TSPL jobs are plain ASCII commands (SIZE, CLS, ...); ESC/POS jobs start with a control byte.