2
目
目目
目 录
录录
录
第一章
第一章第一章
第一章
简述
简述简述
简述................................
................................................................
................................................................
................................................................
...................................
......
... 4
44
4
第二章
第二章第二章
第二章
通讯接口
通讯接口通讯接口
通讯接口 ................................
................................................................
...............................................................
..............................................................
............................... 5
55
5
2.1 红外(IR)端口 ........................................................................................................ 5
2.1.1 原始红外(RAW-IR)........................................................................................ 5
2.1.2 IrCOMM 端口...................................................................................................... 6
2.2 RS-232 端口................................................................................................................ 6
2.3 蓝牙端口 .................................................................................................................... 8
2.3.1 配对...................................................................................................................... 8
2.3.2 使用蓝牙接口打印.............................................................................................. 8
2.3.3 蓝牙地址绑定功能.............................................................................................. 8
第三章
第三章第三章
第三章
打印控制指令
打印控制指令打印控制指令
打印控制指令 ................................
................................................................
...........................................................
......................................................
........................... 9
99
9
3.1 基本控制指令 .......................................................................................................... 10
3.1.1 ESC @.............................................................................................................. 10
3.1.2 NULL .................................................................................................................. 10
3.1.3 FF ........................................................................................................................ 10
3.1.4 LF .........................................................................................................................11
3.1.5 CR ........................................................................................................................11
3.1.6 ESC J n...........................................................................................................11
3.1.7 ESC d n ..........................................................................................................11
3.1.8 HT ........................................................................................................................11
3.2 字符排版参数设置命令 .......................................................................................... 12
3.2.1 ESC ! n .......................................................................................................... 12
3.2.2 ESC U n......................................................................................................... 12
3.2.3 ESC V n......................................................................................................... 13
3.2.4 ESC W n........................................................................................................ 13
3.2.5 ESC – n ............................................................................................................ 13
3.2.6 ESC + n ......................................................................................................... 13
3.2.7 ESC i n .......................................................................................................... 13
3.2.8 ESC c n.......................................................................................................... 14
3.3 打印排版参数设置命令 .......................................................................................... 14
3.3.1 ESC $ nL nH .............................................................................................. 14
3.3.2 ESC D n1 n2…nk NULL ........................................................................ 14
3.3.3 ESC \ nL nH ............................................................................................... 14
3.3.4 ESC 2 ............................................................................................................... 15
3.3.5 ESC 3 n ......................................................................................................... 15
3.3.6 ESC SP n ....................................................................................................... 15
3.3.7 GS L nL nH ................................................................................................ 16
3.4 图形/图象打印命令 ................................................................................................. 16
3.4.1 ESC * m n1 n2 [d]k................................................................................. 16
3.4.2 FS P n ............................................................................................................ 17