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
5
Chapter 1. General Information
1-1) About this Manual
This manual explains how to control the Brother MPrint series of mobile printers (hereafter referred to
simply as “MPrint”) directly, and to use this command interface to customize the output from your programs.
However, this manual should not be regarded as a programming tutorial. You should already have a basic
knowledge and experience of programming.
These ESC/P commands have been adapted specifically for printers.
Target models and interfaces:
MW-120 / MW-120 TypeF
IrDA Ver.1.2 and USB 2.0 Full Speed
MW-140BT TypeE / MW-140BT TypeF
Bluetooth Ver.1.1 with serial port profile and USB 2.0 Full Speed
MW-145BT
Bluetooth Ver.2.1+EDR with serial port profile and USB 2.0 Full Speed
MW-260
IrDA Ver.1.3, Bluetooth Ver.1.1 with serial port profile and USB 2.0 Full Speed
Target language version:
Western language versions
Target Host:
Any host which has any one of the above interfaces, which can control data output from your
program, and which can install and run your program, for example PCs, BlackBerrys, smart
phones, PDAs and hand terminals.
Updated history:
2010/02/26 Version 2.00 released.
Reference updated to apply to MW-120, MW-140BT, MW-145BT and MW-260.










