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
17
Notice number
Name Value
Invalid 00 Hex
Not used 01 Hex
Not used 02 Hex
Not used 03 Hex
Not used 04 Hex
Not used 05 Hex
1-4-2) Error information:
Error Information 1 t
able:
Data Flag Mask Description
Bit 0 0x01 Paper cassette empty error (or Paper cassette
wrong distance error. It is not paper empty)
Bit 1 0x02 N/A
Bit 2 0x04 Paper Jam
Bit 3 0x08 Battery empty
Bit 4 0x10 N/A
Bit 5 0x20 N/A
Bit 6 0x40 Adapter overvoltage limit
Bit 7 0x80 N/A
Error Information 2 table:
Data Flag Mask Description
Bit 0 0x01 Paper cassette was changed during printing
Bit 1 0x02 N/A
Bit 2 0x04 Program error (communication error or buffer full
error. ESC/P command data exceeded 64 KB
limit.)
MW-145BT and MW-260 are available the error.
MW-120 and MW-140BT are not available.
Bit 3 0x08 N/A (communication error)
MW-120 and MW-140BT are available the error.
MW-145BT and MW-260 are not available (N/A).
Bit 4 0x10 N/A
Bit 5 0x20 Print head above high temperature limit
Bit 6 0x40 Feed error or paper empty
Bit 7 0x80 System error (EEPROM error and other fatal
errors)
1-4-3) Error description
a.
“Paper cassette empty error” / “Paper cassette wrong distance error”
An error status (setting bit 0 in the error information 1 table) is sent to the host device when a printer is
detects an empty paper cassette or paper cassette wrong distance after a page feed command is received.










