ESC/ P Command Reference

Table Of Contents
ESC P Specify pica pitch
[ASCII] ESC P
[Decimal] 27 80
[Hexadecimal] 1B 50
[Parameters] None
[Description]
Prints subsequent data with pica pitch (10 characters/inch).
The character spacing is 30 dots (=300 dots/10 characters).
If the character width is 30 dots or less, the character spacing is set to 30 minus the
character width.
If the character width exceeds 30 dots, the character spacing is set to the character
width. (The space between characters is 0 dot.)
In this case, the pitch does not exactly equal the pica pitch.
With double-width characters, the character spacing is doubled (60 dots).
With half-width characters, the character spacing is cut in half (15 dots).
When the character spacing is changed with ESC SP, the setting is updated.
This command is invalid when proportional pitch is selected.
In out-line fonts, the space between character is 0 dot.
Full width Double width Half width
Setting (dots)
24 32 48 24 32 48 24 32 48
Brougham
11 16 26 22 32 52 6 8 13
Letter Gothic bold
10 14 22 20 28 44 5 7 11
Brussels
25 35 56 50 70 112 13 18 28
Helsinki
21 28 44 42 56 88 11 14 22
Width (dots)
San Diego
24 35 57 48 70 114 12 18 29
The above table refers to characters with a fixed pitch. (Applying styles may
increase the size.)
[Example] For a 24-dot font at full width
26
6 dots
24 dots
48 dots
12 dots
Full width Double width