二、目录
一、声明 .............................................................................................................................................................................. 2
二、目录 .............................................................................................................................................................................. 3
四、指令详解 ....................................................................................................................................................................... 7
4.1 特有指令 ............................................................................................................................................................... 7
4.1.1 SO ............................................................................................................................................................................................ 7
4.1.2 GS FF ......................................................................................................................................................................................... 7
4.1.3 GS 0x99 ....................................................................................................................................................................................... 7
4.2 基本控制命令 .......................................................................................................................................................... 8
4.2.1 ESC @ ..................................................................................................................................................................................... 8
4.2.2 LF .............................................................................................................................................................................................. 8
4.2.3 FF .............................................................................................................................................................................................. 8
4.2.4 CR ............................................................................................................................................................................................ 8
4.2.5 ESC J n .................................................................................................................................................................................... 9
4.2.6 ESC d n ................................................................................................................................................................................... 9
4.3 字符参数设置命令 ................................................................................................................................................... 9
4.3.1 ESC ! n .................................................................................................................................................................................... 9
4.3.2 GS ! n .................................................................................................................................................................................... 10
4.3.3 ESC M n ............................................................................................................................................................................... 10
4.3.4 ESC – n ............................................................................................................................................................................... 10
4.3.5 ESC E n ................................................................................................................................................................................. 11
4.3.6 GS B n ..................................................................................................................................................................................... 11
4.3.7 ESC V n ................................................................................................................................................................................. 11
4.3.8 ESC G n ................................................................................................................................................................................ 12
4.3.9 ESC t n .................................................................................................................................................................................. 12
4.3.10 ESC R n .............................................................................................................................................................................. 14
4.4 打印排版参数设置命令 .......................................................................................................................................... 14
4.4.1 HT .......................................................................................................................................................................................... 14
4.4.2 ESC $ nL nH ........................................................................................................................................................................ 15
4.4.3 ESC D n1 n2… nk NULL ................................................................................................................................................ 15
4.4.4 ESC 2 ..................................................................................................................................................................................... 15
4.4.5 ESC 3 n ................................................................................................................................................................................. 15
4.4.6 ESC SP n............................................................................................................................................................................... 16
4.4.7 ESC a n ................................................................................................................................................................................. 16
4.4.8 GS L nL nH .......................................................................................................................................................................... 16
4.4.9 ESC \ nL nH ......................................................................................................................................................................... 17
4.4.10 GS P x y ............................................................................................................................................................................. 17
4.4.11 GS W nL nH ...................................................................................................................................................................... 17
4.5 图形/图象打印命令 ............................................................................................................................................... 18
4.5.1 ESC * m nL nH d1... dk .................................................................................................................................................... 18