iii
/
52
3.2 关闭 黑标检测功能......................................................................................................... 31
3.3 设置黑标纸最大票长....................................................................................................... 31
3.4 设置黑标宽度上限........................................................................................................... 31
3.5 检测到黑标前,打印或前进 nstep(步).................................................................... 31
3.6 检测到黑标后,走纸 nstep(步),定位下半张票起始位置...................................... 31
3.7 检测到黑标后,前进 nstep(步),找票头用.............................................................. 32
3.8 切刀位置在检测到黑标前进 nstep(步)................................................................... 32
3.9 走纸到下一个起始打印位置开始打印...........................................................................32
3.10 走纸到下一个切刀位置开始切刀.................................................................................32
3.11 ESC ## SBCV 设置黑标参考电压................................................................................ 32
3.12 GS FF 走纸到黑标.................................................................................................. 32
3.13 GS c 开启黑标修正功能.........................................................................................33
第 4 章 条码指令.............................................................................................................................34
4.1 GS E C 条码开关指令............................................................................................34
4.2 GS h n 选择条码高度...................................................................................34
4.3 GS H n 选择 HRI 字符的打印位置.................................................................34
4.4 ①GS k m d1...dk NUL②GS k m n d1...dn 打印条码....................................................35
4.5 QR Code 设置单元大小...................................................................................................37
4.6 QR Code 设置错误纠错等级...........................................................................................37
4.7 QR Code 传输数据至编码缓存.......................................................................................37
4.8 QR Code 打印编码缓存的二维条码...............................................................................37
第 5 章 状态查询指令.....................................................................................................................39
5.1 GS g 1 返回打印机浓度等级...................................................................................39
5.2 GS g 2 返回打印机打印速度.................................................................................39
5.3 GS g 3 返回当前语言类型.......................................................................................39
5.4 GS g 4 返回黑标参数...............................................................................................40
5.5 GS g 5 返回黑标传感器当前检测电压...................................................................40
5.6 GS g 6 返回打印机温度...........................................................................................40
5.7 GS g 7 返回串口波特率...........................................................................................41
5.8 GS g 8 返回蜂鸣器是否使能...................................................................................41
5.9 GS g 9 读取主板序列号...........................................................................................41
5.10 GS g a 返回打印机 ID 号.......................................................................................41
5.11 GS g b 返回出厂日期.............................................................................................42
5.12 GS g c 返回自动切刀复位功能是否开启.............................................................42
5.13 GS g d
返回条码功能是否开启............................................................................ 42
5.14 GS g e 返回切刀前走纸距离.................................................................................42
5.15 GS g f 返回打印机软件版本号........................................................................... 43
5.16 GS g g 返回厂商名称...........................................................................................43
5.17 GS g h 返回机器名称.............................................................................................43
5.18 GS g i 返回切刀后走纸距离................................................................................. 43
第 6 章 MD5 加密指令.................................................................................................................. 44
6.1 MD5 加密说明...................................................................................................................44
6.2 ESC ##WOID len D1....D8 下载只写 ID..............................................................44
6.3 ESC ##ROID 获取只写 ID........................................................................................44