BasicESC<T extends BasicESC<T>> class abstract

Inheritance
Implementers

Constructors

BasicESC({required Lifecycle lifecycle})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

authors() List<String>
inherited
backLineDot({required int dot}) → T
回纸命令
batteryVolume() → T
查询电量
clear() → T
inherited
command() → Command
inherited
commander() → Commander
Get commander
override
connectedDevice() → ConnectedDevice
Get connected device
override
cut() → T
切刀(立刻切)
enable() → T
使能打印机
enableGray() → T
使能灰阶
getNfcPaper() → T
获取标签纸张信息
getNfcRestLength() → T
获取标签剩余长度
getNfcUID() → T
获取标签UID
getNfcUsedLength() → T
获取标签已使用长度
getPaperTypeQ3() → T
获取当前设备纸张类型(Q1 Q2 Q3 D11 D30 B21 B22用这个) 返回值:0X01 黑标纸,0x02 连续纸,否则:间隙
getShutdownTime() → T
获取关机时间
image({required EImage arg}) → T
打印图片
imageGray({required EImageGray arg}) → T
打印图片(灰阶)
info() → T
查询打印机所有信息
learnLabelGap() → T
学习缝隙
line({required ELine arg}) → T
画线
lineDot({required int dot}) → T
走纸命令 @param dot 走纸点行
lineDotCut() → T
切刀(固件固定走纸后才切)
lineRow({required int row}) → T
走纸一行命令(3.75mm) @param row 走纸点行
location({required int location}) → T
设置打印起始横向位置
mac() → T
查询MAC
model() → T
查询打印机型号
name() → T
查询蓝牙名称
newline() → T
inherited
nn() → T
查询NN
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paperType({required EPaperType arg}) → T
纸张类型
paperTypeQ3({required EPaperTypeQ3 arg}) → T
纸张类型(Q1 Q2 Q3 D11 D30 B21 B22用这个)
position() → T
打印定位
printerVersion() → T
查询打印机固件版本
push(Arg command) → T
inherited
raw(Raw raw) → T
inherited
read({ReadOptions? options}) Stream<Uint8List>
inherited
setBTType() → T
设置蓝牙类型(支持压缩的机器需要调用)
setCurrentTime({required ESetCurrentTime arg}) → T
设置当前时间(部分机型适用)
setShutdownTime({required int time}) → T
设置关机时间(分钟)
sn() → T
查询SN
state() → T
查询打印机状态
stopJob() → T
结束打印任务
sversion() String
inherited
thickness({required int thickness}) → T
设置打印机浓度(0-2) @param thickness 0:低浓度 1:中浓度 2:高浓度
toString() String
A string representation of this object.
inherited
variable(String name, Object value) → PSDK<PSDK>
inherited
version() → T
查询蓝牙固件版本
wakeup() → T
唤醒打印机
write({WriteOptions? options}) Future<WroteReporter>
inherited

Operators

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