ESC/P Command Reference
- ii -
CR Carriage return ..............................................................................41
ESC D Specify horizontal tab position .......................................................42
HT Perform horizontal tab ...................................................................43
ESC $ Specify absolute horizontal position...............................................44
ESC \ Specify relative horizontal position.................................................44
ESC a Specify alignment ..........................................................................45
5.5 Vertical movement commands ............................................................................46
LF Line feed........................................................................................46
FF Page feed ......................................................................................46
ESC J Forward paper feed .......................................................................47
ESC B Specify vertical tab position ...........................................................48
VT Perform vertical tab........................................................................49
ESC (V Specify absolute vertical position...................................................50
ESC (v Specify relative vertical position.....................................................51
5.6 Paper formatting commands ...............................................................................52
ESC (c Specify page format.......................................................................52
ESC (C Specify page length .......................................................................53
5.7 Printer control commands....................................................................................54
ESC @ Initialize..........................................................................................54
5.8 Graphics commands ...........................................................................................55
ESC * Select bit image.............................................................................55
ESC K 8-dot single-density bit image ........................................................59
ESC L 8-dot double-density bit image.......................................................60
ESC Y 8-dot double-speed double-density bit image................................61
ESC Z 8-dot quadruple-density bit image .................................................61
5.9 Advanced commands ..........................................................................................62
ESC i B Barcode .........................................................................................62
ESC i Q 2D barcode (QR Code)..................................................................66
ESC i P QR Code version ...........................................................................69
ESC i V 2D barcode (PDF417) ...................................................................70
ESC i D 2D barcode (DataMatrix) ...............................................................73
ESC i M 2D barcode (MaxiCode).................................................................76
ESC i F Print downloaded data...................................................................78
ESC i a Switch command mode .................................................................82
ESC i S Status information request .............................................................83
ESC i L Specify landscape orientation ........................................................85
ESC i C Specify cutting ...............................................................................86
5.10 Advanced static commands...............................................................................87
ESC iXQ2 Select default character style.........................................................87
ESC iXQ1 Retrieve default character style .....................................................88
ESC iXk2 Select default font..........................................................................89
ESC iXk1 Retrieve default font ......................................................................90
ESC iXX2 Specify default character size........................................................91
ESC iXX1 Retrieve default character size ......................................................92
ESC iX32 Specify default line feed.................................................................92
ESC iX31 Retrieve default line feed...............................................................93
ESC iXA2 Select default alignment ................................................................93
ESC iXA1 Retrieve default alignment.............................................................94
ESC iX(2 Specify default page length............................................................95
ESC iX(1 Retrieve default page length..........................................................95
ESC iXL2 Select default landscape orientation..............................................96
ESC iXL1 Retrieve default landscape orientation ..........................................96
ESC iXj2 Select default international character set.......................................97
ESC iXj1 Retrieve default international character set ...................................98
ESC iXm2 Select default character code set ..................................................99