ESC/ P Command Reference

Table Of Contents
................................................................................................39 Line feed commands
ESC 0 Specify line feed of 1/8 inch.....................................................................39
ESC 2 Specify line feed of 1/6 inch.....................................................................39
ESC 3 Specify minimum line feed......................................................................39
ESC A Specify line feed of n/60 inch...................................................................40
..............................................................41 Horizontal direction movement commands
ESC l Specify left margin ...................................................................................41
ESC Q Specify right margin...............................................................................44
CR Carriage return.............................................................................................46
ESC D Specify horizontal tab position...............................................................47
HT Apply horizontal tab .....................................................................................48
ESC $ Specify absolute horizontal position .......................................................49
ESC \ Specify relative horizontal position ........................................................49
ESC a Specify alignment ....................................................................................50
.................................................................................51 Vertical movement commands
LF Line feed ........................................................................................................51
FF Page feed........................................................................................................51
ESC J Forward paper feed .................................................................................52
ESC B Specify vertical tab position ...................................................................53
VT Apply vertical tab..........................................................................................54
ESC (V Specify absolute vertical position..........................................................55
ESC (v Specify relative vertical position............................................................56
......................................................................................................57 Paper formatting
ESC (c Specify page format ................................................................................57
ESC (C Specify page length................................................................................58
........................................................................................59 Printer control commands
ESC @ Initialize ..................................................................................................59
................................................................................................60 Graphics commands
ESC * Select bit image........................................................................................60
ESC K 8-dot standard-density bit image ...........................................................65
ESC L 8-dot double-density bit image................................................................67
ESC Y 8-dot double-speed double-density bit image .........................................68
ESC Z 8-dot quadruple-density bit image..........................................................68
...............................................................................................69 Advanced commands
ESC i B Bar code.................................................................................................69
ESC i Q 2D Bar code QR codes...........................................................................73
4
ESC i P QR code version setting ........................................................................76