ESC/ P Command Reference

Table Of Contents
ESC/P Command Reference
- 85 -
5. Control Command Details
ESC i D 2D barcode (DataMatrix)
ASCII: ESC i D or d data
Hexadecimal: 1B 69 44 or 64 data
Format: ESC i D or d [Parameters] [Barcode data] \\\
(1) (2) (3)
Parameters
(1) [Parameters]
Unlike with 1D barcodes, all parameters must be specified in order, starting from the top.
If a value other than those listed is entered for a parameter, that parameter is specified with its default
value.
1. Cell size
[1-byte decimal] 1
[1-byte decimal] 2
[1-byte decimal] 3
[1-byte decimal] 4
[1-byte decimal] 5
[1-byte decimal] 6
[1-byte decimal] 8
[1-byte decimal] 10
Specifies the dot size per cell side.
Prints 1 dot per cell side.
Prints 2 dots per cell side.
Prints 3 dots per cell side. (default value)
Prints 4 dots per cell side.
Prints 5 dots per cell side.
Prints 6 dots per cell side.
Prints 8 dots per cell side.
Prints 10 dots per cell side.
2. Symbol
type
[1-byte decimal] 0
[1-byte decimal] 1
ECC200 square (default value)
ECC200 rectangular
3. Vertical
size
[1-byte decimal] 0
[1-byte decimal] 10
[1-byte decimal] 12
[1-byte decimal] 14
[1-byte decimal] 16
[1-byte decimal] 18
[1-byte decimal] 20
[1-byte decimal] 22
[1-byte decimal] 24
[1-byte decimal] 26
[1-byte decimal] 32
[1-byte decimal] 36
[1-byte decimal] 40
[1-byte decimal] 44
[1-byte decimal] 48
[1-byte decimal] 52
[1-byte decimal] 64
[1-byte decimal] 72
[1-byte decimal] 80
[1-byte decimal] 88
[1-byte decimal] 96
(continued to the next page)
[ECC200 square]
Vertical no. of cells: AUTO (default value)
Vertical no. of cells: 10 cells
Vertical no. of cells: 12 cells
Vertical no. of cells: 14 cells
Vertical no. of cells: 16 cells
Vertical no. of cells: 18 cells
Vertical no. of cells: 20 cells
Vertical no. of cells: 22 cells
Vertical no. of cells: 24 cells
Vertical no. of cells: 26 cells
Vertical no. of cells: 32 cells
Vertical no. of cells: 36 cells
Vertical no. of cells: 40 cells
Vertical no. of cells: 44 cells
Vertical no. of cells: 48 cells
Vertical no. of cells: 52 cells
Vertical no. of cells: 64 cells
Vertical no. of cells: 72 cells
Vertical no. of cells: 80 cells
Vertical no. of cells: 88 cells
Vertical no. of cells: 96 cells