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
18
b. “Paper empty error”
An error status (setting bit 1 in the error information 1 table) is sent to the host device when a printer is
aware of a paper empty or unable to feed error after a page feed command is received.
c. “Paper jam error”
An error status (setting bit 2 in the error information 1 table) is sent to the host device when a paper jam
occurs. If the paper jam occurs during a print, the printer stops printing immediately. This error will remain
until the jammed paper is removed. If the host device sends more print data while the printer is still jammed,
the printer will not try printing and will return the same error.
d. “Battery empty error”
An error status (setting bit 3 in the error information 1 table) may be sent to the host device when the
printer detects the battery is empty while idle or printing. After the error is sent, the printer is shut down. If
the “battery empty error” occurs while printing, the printer tries printing the current page. After the page is
printed, an error status may be sent. The printer will shut down even if the host does not receive the error. If
the printer does not have enough power to finish printing the page, the printer is shut down immediately
and no error status is sent to the device.
e. “Paper cassette change during printing error”
An error status (setting bit 0 in the error information 2 table) is sent to the host device when the printer
detects a paper cassette change during printing action, and stops printing immediately. It is not kept error
data in the printer.
f. “Program error”
An error status (setting bit 2 in the error information 2 table) is sent to the host device when the printer
detects a “program error”. This “program error” occurs in 2 cases. One is that ESC/P data has exceeded
the 64KB buffer, and the other is that the printer received corrupted print data. This error only applies to
MW-145BT and MW-260.
g. “Communication error”
An error status (setting bit 3 in the error information 2 table) is sent to the host device when the printer
detects a “communication error”. This error only applies to MW-120 and MW-140BT.
h. “High-temperature error”
An error status (setting bit 5 in the error information 2 table) is sent to the host device when the printer
detects high-temperature on the thermal print head after receiving a page feed command, or detects it
during printing. The printer will immediately stop printing until the head is cool enough to continue, and
should continue printing the current page. Subsequent pages may need to be re-sent by the host device or
control software.










