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