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
27
ESC SP Select character spacing for ANK characters
[ASCII] ESC SP n
[Decimal] 27 32 n
[Hexadecimal] 1B 20 n
[Parameters] 0≤n≤127
[Description]
・ Specifies the character spacing.
・ The default setting is n=0.
ESC X Select alphanumeric/kana character size
[ASCII] ESC X m nL nH
[Decimal] 27 88 m nL nH
[Hexadecimal] 1C 58 m nL nH
Bitmap fonts (MW-120 / MW-120 TypeF / MW-140BT / MW-140BT TypeF / MW-145BT / MW-260)
[Parameters] Character width: The value of m is irrelevant.
Character size: nL = 24, 32, or 48 dots
Available only when nH=0.
[Description]
・ This command is only used to change the size.
・ Underlining must not be specified.
・ Character width cannot be specified.
・ The character size is set to n=nL+nH*256 dots.
・ The width and the height is the same size.
・ Only n=24, 32, or 48 are available.
** These parameters are supported by MW-145BT / MW-260.
Outline fonts (MW-145BT / MW-260)**
[Parameters] Character width: The value of m is irrelevant.
Character size:
nL = 33, 38, 42, 46, 50, 58, 67, 75, 83, 92, 100, 117, 133, 150, 167,
200 or 233 dots
nH=0.
nL = 11 (267), 44 (300), 77 (333), 111 (367) or 144 (400) dots
nH=1.










