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
16
Reserved 06 Hex Discontinue settings. Do not use
Reserved 07 Hex Discontinue settings. Do not use
Carbon copy (2ply) 08 Hex
Reserved 09 Hex Spare (currently not used)
Reserved 0E Hex Spare (currently not used)
Wrong paper cassette direction 0F Hex
Status kind
Status kind Value
Reply to status request 00 Hex
Print complete 01 Hex
Error occurrence 02 Hex
Not used (normally, IF mode exit) 03 Hex
Not used (normally, power off) 04 Hex
Notice 05 Hex
Phase change 06 Hex
(Not used) 07 Hex – 20 Hex
(Not allowed to use) 21 Hex – FF Hex
Phase kind and number *
Phase kind Value
Edit (reception possible) 00 Hex
Normal printing 01 Hex
* “Phase kind and number” is not used in ESC/P Commands, it is used only for the raster graphic command
mode.
Edit *
Phase number Value(Dec) Upper byte Lower byte
Edit (reception possible) 0 00 Hex 00 Hex
* “Edit” is not used in ESC/P Commands, it is used only for the raster graphic command mode.
Normal printing *
Phase number Value(Dec) Upper byte Lower byte
Printing 0 00 Hex 00 Hex
* “Normal printing” is not used in ESC/P Commands, it is used only for the raster graphic command mode.










