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
20
Chapter 2. Command information
The MPrint range of printers can be updated through firmware updates. These updates can include new
commands.
Commands or parameters marked with “*” are supported by MW-120 TypeF, MW-140BT TypeF and
MW-260.
Commands or parameters marked with “**” are supported by MW-260 and MW-145BT.
2-1) Character/style selection commands
ESC R Select international character set
[ASCII] ESC R n
[Decimal] 27 82 n
[Hexadecimal] 1B 52 n
[Parameters] 0≤n≤13, 64
[Description]
・ Selects the character code section of the code table corresponding to the value of n.
・ The default setting is n=0 (United States).
-> Refer to “International character set” on page 44.
ESC q Select character style
[ASCII] ESC q n
[Decimal] 27 113 n
[Hexadecimal] 1B 71 n
[Parameters] 0≤n≤3
[Description]
・ Selects the character style.
n=0: Cancel (normal characters)
n=1: Outline
n=2: Shadow
n=3: Shadow and outline
ESC k Select font
[ASCII] ESC k n
[Decimal] 27 107 n
[Hexadecimal] 1B 6B n
MW-120 / MW-120 TypeF / MW-140BT TypeE / MW-140BT TypeF
[Parameters] 0≤n≤4










