ESC/ P Command Reference

Table Of Contents
4
CR Carriage return........................................................................................... 27
ESC $ Specify absolute horizontal position .......................................................27
ESC \ Specify relative horizontal position.........................................................28
ESC a Specify alignment ...................................................................................28
Vertical movement commands ........................................................................................29
LF Line feed....................................................................................................29
FF Page feed .................................................................................................. 29
ESC J Forward paper feed................................................................................29
Paper formatting..............................................................................................................30
ESC i l Specify label length ...............................................................................30
ESC i m Specify margin width ...........................................................................30
Printer control commands ...............................................................................................31
ESC @ Initialize..................................................................................................31
Graphics commands .......................................................................................................32
ESC * Select bit image......................................................................................32
ESC K 8-dot single-density bit image ................................................................37
ESC L 8-dot double-density bit image ............................................................... 38
ESC Y 8-dot double-speed double-density bit image ........................................39
ESC Z 8-dot quadruple-density bit image ..........................................................39
Kanji commands..............................................................................................................40
FS Y Specify kanji size....................................................................................40
FS - Apply kanji underlining...............................................................................40
FS SI Specify half-width characters..................................................................41
FS DC2 Cancel half-width characters................................................................41
FS k Select font ..............................................................................................41
Advanced commands......................................................................................................42
ESC i B Bar code .............................................................................................. 42
ESC i Q 2D bar code (QR Code).......................................................................46
ESC i P Specify QR Code version.....................................................................50
ESC i V 2D bar code (PDF417)......................................................................... 51
ESC i D 2D bar code (DataMatrix) ....................................................................55
ESC i M 2D bar code (MaxiCode) .....................................................................58
ESC i F Print transferred data ...........................................................................60
ESC i a Switch command mode ........................................................................ 64
ESC i S Request printer status ..........................................................................65
ESC i L Apply/cancel rotated printing................................................................68
ESC i C Specify cut setting................................................................................ 68