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
48
** The 2D code below is supported by MW-145BT and MW-260.
ESC i D Print DataMatrix code**
[ASCII] ESC i D or d [Parameters] [2D code data] \\\
[Decimal] 27 105 68 or 100 [Parameters] [2D code data] 92 92 92
[Hexadecimal] 1B 69 44 or 64 [Parameters] [2D code data] 5C 5C 5C
[Parameters]
All parameters must be set in the correct order. If irregular parameters are detected, default values will
automatically be used.
1. Cell size
[Decimal 1 byte] 3
[Decimal 1 byte] 4
[Decimal 1 byte] 5
[Decimal 1 byte] 6
[Decimal 1 byte] 8
[Decimal 1 byte] 10
Setting a dot size on each cell
Printing a 3 dots x 3 dots sized cell (Default value)
Printing a 4 dots x 4 dots sized cell.
Printing a 5 dots x 5 dots sized cell.
Printing a 6 dots x 6 dots sized cell.
Printing an 8 dots x 8 dots sized cell.
Printing a 10 dots x 10 dots sized cell.
2. Symbol type
[Decimal 1 byte] 0
[Decimal 1 byte] 1
ECC200 Square (Default value)
ECC200 Rectangle
3. Height size
[Decimal 1 byte] 0
[Decimal 1 byte] 10
[Decimal 1 byte] 12
[Decimal 1 byte] 14
[Decimal 1 byte] 16
[Decimal 1 byte] 18
[Decimal 1 byte] 20
[Decimal 1 byte] 22
[Decimal 1 byte] 24
[Decimal 1 byte] 26
[Decimal 1 byte] 32
[Decimal 1 byte] 36
[Decimal 1 byte] 40
[Decimal 1 byte] 44
[Decimal 1 byte] 48
[Decimal 1 byte] 52
[Decimal 1 byte] 64
[Decimal 1 byte] 72
[Decimal 1 byte] 80
[Decimal 1 byte] 88
[Decimal 1 byte] 96
[Decimal 1 byte] 104
[Decimal 1 byte] 120
[Decimal 1 byte] 132
[Decimal 1 byte] 144
[Decimal 1 byte] 0
[Decimal 1 byte] 8
[Decimal 1 byte] 12
[Decimal 1 byte] 16
-ECC200 Square:
Height count of cells Automatically (Default value)
Height count of 10 cells
Height count of 12 cells
Height count of 14 cells
Height count of 16 cells
Height count of 18 cells
Height count of 20 cells
Height count of 22 cells
Height count of 24 cells
Height count of 26 cells
Height count of 32 cells
Height count of 36 cells
Height count of 40 cells
Height count of 44 cells
Height count of 48 cells
Height count of 52 cells
Height count of 64 cells
Height count of 72 cells
Height count of 80 cells
Height count of 88 cells
Height count of 96 cells
Height count of 104 cells
Height count of 120 cells
Height count of 132 cells
Height count of 144 cells
- ECC200 Rectangle:
Height count of cells Automatically (Default value)
Height count of 8 cells
Height count of 12 cells
Height count of 16 cells
4. Width size
[Decimal 1byte] X
-ECC200 Square:
Width count of cells equal to height count










