TsplCommandBuildImpl class
- Implemented types
-
- Annotations
-
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
isDisposed
→ bool
-
Whether the underlying
Arc
is disposed.
no setterinherited
-
move
← bool?
-
no getterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
appendBmpImage({required BitmapImage image, required (int, int) pos})
→ Future<void>
-
添加bmp图片
`image`
bmp图片资源
`pos`
x,y 位置
override
-
appendData({required List<int> data})
→ void
-
添加数据
override
-
build()
→ Uint8List
-
获取字节数据
override
-
cls()
→ void
-
清除画布缓存
注意:该命令必须在SIZE命令之后
override
-
codePage({required String n})
→ void
-
设置代码页及国际字符集,推荐UTF-8
override
-
command({required String command})
→ void
-
自定义命令
override
-
density({required int n})
→ void
-
设置浓度
override
-
dispose()
→ void
-
Dispose the underlying
Arc
.
inherited
-
frbInternalCstEncode({bool? move})
→ int
-
This is only intended to be used by automatically generated code,
instead of developers.
inherited
-
frbInternalSseEncode({bool? move})
→ BigInt
-
This is only intended to be used by automatically generated code,
instead of developers.
inherited
-
gap({required int m, required int n})
→ void
-
定义两张标签之间的缝宽。单位毫米mm
`m`
两个标签之间的距离
`n`
缝的偏移
0,0 连续纸
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
offset({required int m})
→ void
-
定义每次标签定位时可选择的、额外的标签进纸高度。主要在撕纸或切纸模式下,用于调整标签停止位置,并在下次打印前回退响应的距离。
单位: 毫米
override
-
printer({required (int, int) count})
→ void
-
打印已缓存的标签。一般是(1,1)
`count`
打印标签的数量,1: 打印标签的组数 2: 每组标签打印的数量
override
-
shift({required int y})
→ void
-
移动标签的横向和纵向位置。正数使标签往打印方向的相反方向移动,负数使标签往打印方向移动。
override
-
size({required (int, int) size})
→ void
-
定义尺寸, 毫米类型
override
-
speed({required int n})
→ void
-
设置打印速度
override
-
toString()
→ String
-
A string representation of this object.
inherited