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
50
ESC i F Print downloaded data
[ASCII] ESC i F P n
[Decimal] 27 105 70 80 n
[Hexadecimal] 1B 69 46 50 n
[Parameters]
MW-120, MW-120 TypeF, MW-140BT TypeE and MW-140BT TypeF:
n: Index of file header
0≤n≤7
MW-145BT and MW-260**:
n: Index of file header
0≤n≤98
[Description]
・ Expands downloaded data as image data in the print buffer.
ESC i a Switch command mode
[ASCII] ESC i a n
[Decimal] 27 105 97 n
[Hexadecimal] 1B 69 61 n
[Parameters]
MW-120, MW-120 TypeF, MW-140BT TypeE and MW-140BT TypeF:
n: Command mode
0=ESC/P
Other than 0 = Raster graphics
MW-145BT and MW-260**:
n: Command mode
0 = ESC/P
1 = Raster graphics
3 = P-touch template
[Description]
・ Sets to the command mode to ESC/P, PTCBP (raster graphics), or P-touch template
(MW-145BT and MW-260 can set templates).
ESC i S Request printer status
[ASCII] ESC i S
[Decimal] 27 105 83
[Hexadecimal] 1B 69 53
[Parameters] None










