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
52
Chapter 3. Appendix
3-1) Control code Lists
Character/style selection
ESC R 1B 52 Select international character set
ESC q 1B 71 Select character style
ESC k 1B 6B Select alphanumeric/kana character font
ESC t 1B 74 Select character code table
Text printing
ESC 4 1B 34 Apply italic style
ESC 5 1B 35 Cancel italic style
ESC E 1B 45 Apply bold style
ESC F 1B 46 Cancel bold style
ESC G 1B 47 Specify double printing
ESC H 1B 48 Cancel double printing
ESC P 1B 50 Specify pica pitch (10 cpi)
ESC M 1B 4D Specify elite pitch (12 cpi)
ESC g 1B 67 Specify micron pitch
ESC p 1B 70 Specify proportional characters
ESC W 1B 57 Specify double-width characters
SO 0E Specify auto-cancelling enlarged characters
ESC SO 1B 0E Specify auto-cancelling enlarged characters
SI 0F Specify reduced characters
ESC SI 1B 0F Specify reduced characters
DC2 12 Cancel reduced characters
DC4 14 Cancel auto-cancelling double-width characters
ESC - 1B 2D Apply/cancel underlining
ESC ! 1B 21 Global formatting
ESC SP 1B 20 Select character spacing
ESC X 1B 58 Select alphanumeric/kana character size
Line feeds
ESC 0 1B 30 Specify line feed of 1/8"
ESC 2 1B 32 Specify line feed of 1/6"
ESC 3 1B 33 Specify line feed amount in minimum units
ESC A 1B 41 Specify line feed amount of n/60"










