User`s manual
Summary
INTRODUCTION .................................................................................................................5
DEVELOPERS ADVICE......................................................................................................5
1 COMMANDS ....................................................................................................................6
1.1 Direct command.........................................................................................................................6
1.2 Control sequence........................................................................................................................6
2 USING THE COMMAND SUMMARY...............................................................................7
2.1 ESC/Bema Command Table......................................................................................................7
2.2 ESC/POS Command Table......................................................................................................11
3. ESC/BEMA COMMANDS .............................................................................................14
3.1 Operation Commands ..............................................................................................................14
3.2 Vertical positioning..................................................................................................................22
3.3 Horizontal positioning..............................................................................................................25
3.4 Character Types .......................................................................................................................27
3.5 Print width, character width and height ...................................................................................31
3.6 Bit images and graphics...........................................................................................................35
3.6.1 24-bit graphics .............................................................................................................35
3.6.2 8-bit graphics ...............................................................................................................35
3.7 Communication........................................................................................................................42
3.7.1 Serial interface status byte ............................................................................................42
3.7.2 Serial / USB / EPP interface advanced status bytes......................................................43
3.7.3 Standard parallel interface status byte ..........................................................................44
3.8 Data Control.............................................................................................................................46
3.9 Barcodes...................................................................................................................................47
4. ESC/POS COMMANDS ................................................................................................57
4.1 Operation Commands ..............................................................................................................57
4.2 Vertical positioning..................................................................................................................63
4.3 Horizontal positioning..............................................................................................................66
4.4 Character types.........................................................................................................................68
4.5. Communication.......................................................................................................................70
4.6. Data Control............................................................................................................................76
4.7. Barcodes..................................................................................................................................76
4.8. Bit images and graphics..........................................................................................................76
APPENDIX I – TABLES ....................................................................................................77
Table 1 - Characters Per Line ........................................................................................................77
Table 2 - Paper Width....................................................................................................................77
APPENDIX II – CHARACTER TABLES............................................................................78
ASCII .............................................................................................................................................78
Code Page 437 ...............................................................................................................................78
Code Page 850 ...............................................................................................................................79
Code Page 858 ...............................................................................................................................80
Code Page 860 ...............................................................................................................................81