PrinterStatus class Null safety
打印机状态
Constructors
- PrinterStatus(int status)
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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
- statusNoCarbon → const int
-
无碳带(仅支持tspl)
0x01 << 4 - statusNoPaper → const int
-
缺纸
0x01 << 2 - statusOk → const int
-
正常
0 - statusOpenCover → const int
-
开盖
0x01 << 1 - statusPrinting → const int
-
正在打印(仅支持tspl、cpcl)
0x01 << 6 - statusPrintPause → const int
-
暂停打印(仅支持tspl)
0x01 << 5 - statusUnknownError → const int
-
打印机错误
0x01 << 15 - statusWillNoPaper → const int
-
纸将尽(仅支持tspl)
0x01 << 3