ESC/ P Command Reference
Table Of Contents
- Chapter 1. General Information
- Chapter 2. Command information
- 2-1) Character/style selection commands
- 2-2) Text printing commands
- ESC 4 Apply italic style
- ESC 5 Cancel italic style
- ESC E Apply bold style
- ESC F Cancel bold style
- ESC G Specify double printing
- ESC H Cancel double printing
- ESC P Specify pica pitch
- ESC M Specify elite pitch
- ESC g Specify micron pitch
- ESC p Specify proportional characters
- ESC W Specify double-width characters
- SO Specify auto-cancelling enlarged characters
- ESC SO Specify auto-cancelling enlarged characters
- SI Specify half-width characters
- ESC SI Specify half-width characters
- DC2 Cancel half-width characters
- DC4 Cancel auto-cancelling double-width characters
- ESC - Apply/cancel underlining
- ESC ! Global formatting
- ESC SP Select character spacing for ANK characters
- ESC X Select alphanumeric/kana character size
- 2-3) Line feed amount commands
- 2-4) Horizontal movement commands
- 2-5) Vertical movement commands
- 2-6) Paper formatting
- 2-7) Printer control commands
- 2-8) Graphics commands
- 2-9) Advanced commands
- Chapter 3. Appendix
4
Table of contents
Chapter 1. General Information..................................................................................................................... 5
1-1) About this Manual ............................................................................................................................ 5
1-2) Paper size and printable area information...................................................................................... 6
1-3) Character and text information ....................................................................................................... 8
1-3) Overview of document creation.......................................................................................................11
1-4) Standard flow..................................................................................................................................
13
1-4) Status and Error handling ............................................................................................................. 14
1-4-1) Status information:......................................................................................... 14
1-4-2) Error information:........................................................................................... 17
1-4-3) Error description............................................................................................. 17
Chapter 2. Command information ............................................................................................................... 20
2-1) Character/style se
lection commands.............................................................................................. 20
2-2) Text printing commands................................................................................................................. 22
2-3) Line feed amount commands.......................................................................................................... 29
2-4) Horizontal movement commands................................................................................................... 30
2-5) Vertical movement commands........................................................................................................ 33
2-6) Paper formatting............................................................................................................................. 37
2-7) Printer control commands .............................................................................................................. 37
2-8) Graphics commands........................................................................................................................ 38
2-9) Advanced commands....................................................................................................................... 41
Chapter 3. Appendix....................................................................................................................................
52
3-1) Control code Lists ........................................................................................................................... 52
3-2) Character table ............................................................................................................................... 55
Standard character code table
for ESC/P codes ....................................................... 55
Eastern European character code table (Windows-1250) ........................................ 56
Western European character code table (Windows 1252)........................................ 57
International character set ....................................................................................... 58










