ESC/ P Command Reference

Table Of Contents
ESC/P Command Reference
- 32 -
5. Control Command Details
ESC g Apply micron pitch (15 cpi)
ASCII: ESC g
Hexadecimal: 1B 67
Parameters
None
Description
Prints the subsequent text with the micron pitch (15 characters/inch).
This command is not applied to 203dpi printers.
The character spacing is 20 dots.
If the character width is 20 dots or less, the character spacing is specified as 20 minus the character width.
If the character width exceeds 20 dots, the character spacing is specified as the character width.
(The spacing between characters is 0 dot.)
In this case, the pitch does not exactly equal the micron pitch.
With double-width characters, the character spacing is doubled (40 dots).
With half-width characters, the character spacing is halved (10 dots).
When the character spacing is changed with ESC SP, the setting is updated.
This command is invalid when proportional pitch is selected.
In outline fonts, the spacing between characters is 0 dot.
Example
For a 11-dot font at full width:
9 dot
11 dots
22 dots
18 dots
Full width
Double width