PrinterStatusQuery class
Status queries in the language the job is written in.
Properties
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), thenDLE EOT 2would 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.