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
Detailed font width information
With a “fixed-width” font each character is the same width as all other characters.
In a “Proportional” font, characters can occupy a different amount of space depending on the character.
For example, “W” occupies a wider space than “I”..
If the fonts designed for proportional usage, “Brussels”, “Helsinki” and “San Diego” are set as fixed-width,
all spaces are automatically set to equal the widest character in the table below.
Maximum character width each font
Font type Font face
Font size
24 dots
Font size
32 dots
Font size
48 dots
Widest character code
Brussels 25 35 56
89h; “
‰”
(Western or Eastern)
Helsinki 21 28 44
BDh; “FAX”, or DEh ;”TEL”
(Standard)
Bitmap Font
San Diego 24 35 57
9Eh;”Pts”
(Standard)
Brussels Calculated (size/100 x 128)
89h ; “
‰”
(Western or Eastern)
Outline Font
Helsinki Calculated (size/100 x 102) 40h;”@”
9
Equal space
w
c
Variable space
C I
a
b c
b a
w
Variable space
C I
Equal space










