[ESC+2D50] DataMatrix (ECC200)
Hexadecimal code
| ESC | <1B>16 |
|---|---|
| 2D50 | <32>16<44>16<35>16<30>16 |
Parameter
,aa,bb,ccc,ddd
Initial value
Nil
Valid range and term of command
| When the power switch is OFF | The set parameter is not maintained. |
| Valid range within items | The set parameter becomes invalid. |
| Valid range between items | The set parameter becomes invalid. |
Function
Specifying DataMatrix Code (ECC200).
Format (Setup part)
<2D50>,aa,bb,ccc,ddd
-
Parameter
a [Horizontal cell size] = Valid Range: 01 to 99 dots
b [Vertical cell size] = Valid Range: 01 to 99 dots
c [Number of cell in one line]
= Valid Range: 010 to 144
= 000: (Auto-setting)
d [Number of cell lines]
= Valid Range: 008 to 144
= 000: (Auto-setting)
Format (Data part)
<DN>mmmm,n...n
-
Parameter
m [Number of data] = Valid Range: 1 to 3116
n [Print data] = Data
* When print 7EH, specify "7EH, 7EH"
* If Parameter other than above is specified or print data don't match, print is not secured.
Coding Example
Horizontal cell size: 3 dots, Vertical cell size: 3 dots
<A>
<V>100<H>200<2D50>,03,03,000,000
<DN>0010,0123456789
<Z>
Supplementary Explanation
- If Parameter other than above is specified or print data don't match, print is not executed.
- When specifying print format, secure more than 2mm blank space in for sides of the DataMatrix for read margin for the scanner.
- When print data is 7EH, specify "7EH, 7EH"Number of data will be "0002".
- When Auto setup (000) is applied for [Number of cell in one row] and [Number of cell lines] , square DataMatrix is printed.
- The number of addressable data at data part is depending on data format. Following chart shows the number of addressable data (When the number of cell is set automatically or the maximum number of cell is specified).
Data format Number of data Data format Numeric 3116 Alphanumeric 2335 Binary (00H to FFH) 1556 - It is likely that symbol cannot be read by reducing the size of cell, which depends on the performance of scanner. In this case, it is required to specify the size of cell which is large enough for reading symbol.
- Commands that allow data size specification and binary data specification (<DN>) will result in a command error if there is no ESC (0x1B) immediately after the specified amount of data.
* Symbol size of DataMatrix (ECC200) is following 30 types.
Symbol size and number of data of DataMatrix (ECC200)
| Symbol size | Maximum data digits | |||||
| Number of cell in one line(c) | Number of cell line(d) | Number of block | Numeric | Alphanumeric | Binary | |
| Square | 10 | 10 | 1 | 6 | 3 | 1 |
| 12 | 12 | 1 | 10 | 6 | 3 | |
| 14 | 14 | 1 | 16 | 10 | 6 | |
| 16 | 16 | 1 | 24 | 16 | 10 | |
| 18 | 18 | 1 | 36 | 25 | 16 | |
| 20 | 20 | 1 | 44 | 31 | 20 | |
| 22 | 22 | 1 | 60 | 43 | 28 | |
| 24 | 24 | 1 | 72 | 52 | 34 | |
| 26 | 26 | 1 | 88 | 64 | 42 | |
| 32 | 32 | 4 | 124 | 91 | 60 | |
| 36 | 36 | 4 | 172 | 127 | 84 | |
| 40 | 40 | 4 | 228 | 169 | 112 | |
| 44 | 44 | 4 | 228 | 214 | 142 | |
| 48 | 48 | 4 | 348 | 259 | 172 | |
| 52 | 52 | 4 | 408 | 304 | 202 | |
| 64 | 64 | 16 | 560 | 418 | 278 | |
| 72 | 72 | 16 | 736 | 550 | 366 | |
| 80 | 80 | 16 | 912 | 682 | 454 | |
| 88 | 88 | 16 | 1152 | 862 | 574 | |
| 96 | 96 | 16 | 1392 | 1042 | 694 | |
| 104 | 104 | 16 | 1632 | 1222 | 814 | |
| 120 | 120 | 36 | 2100 | 1573 | 1048 | |
| 132 | 132 | 36 | 2608 | 1954 | 1302 | |
| 144 | 144 | 36 | 3116 | 2335 | 1556 | |
| Rectangle | 18 | 8 | 1 | 10 | 6 | 3 |
| 32 | 8 | 2 | 20 | 13 | 8 | |
| 26 | 12 | 1 | 32 | 22 | 14 | |
| 36 | 12 | 2 | 44 | 31 | 20 | |
| 36 | 16 | 2 | 64 | 46 | 30 | |
| 48 | 16 | 2 | 98 | 72 | 47 | |
* Mixture of Numeric, Alphanumeric and Control code varies according to number of characters.
DataMatrix Code table
| SI | SO | |||||||||||||||||||
| B8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | ||||
| B7 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | ||||
| B6 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | ||||
| B5 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | ||||
| B4 | B3 | B2 | B1 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | A | B | C | D | E | F | |
| 0 | 0 | 0 | 0 | 0 | SP | 0 | @ | P | ` | p | ||||||||||
| 0 | 0 | 0 | 1 | 1 | ! | 1 | A | Q | a | q | ||||||||||
| 0 | 0 | 1 | 0 | 2 | " | 2 | B | R | b | r | ||||||||||
| 0 | 0 | 1 | 1 | 3 | # | 3 | C | S | c | s | ||||||||||
| 0 | 1 | 0 | 0 | 4 | $ | 4 | D | T | d | t | ||||||||||
| 0 | 1 | 0 | 1 | 5 | % | 5 | E | U | e | u | ||||||||||
| 0 | 1 | 1 | 0 | 6 | & | 6 | F | V | f | v | ||||||||||
| 0 | 1 | 1 | 1 | 7 | ' | 7 | G | W | g | w | ||||||||||
| 1 | 0 | 0 | 0 | 8 | ( | 8 | H | X | h | x | ||||||||||
| 1 | 0 | 0 | 1 | 9 | ) | 9 | I | Y | i | y | ||||||||||
| 1 | 0 | 1 | 0 | A | * | : | J | Z | j | z | ||||||||||
| 1 | 0 | 1 | 1 | B | + | ; | K | [ | k | { | ||||||||||
| 1 | 1 | 0 | 0 | C | , | < | L | ¥ | l | | | ||||||||||
| 1 | 1 | 0 | 1 | D | - | = | M | ] | m | } | ||||||||||
| 1 | 1 | 1 | 0 | E | . | > | N | ^ | n | ~ | ||||||||||
| 1 | 1 | 1 | 1 | F | / | ? | O | _ | o | DEL | ||||||||||
DataMatrix can specify from 00H to FFH.
When print 7EH, specify "7EH, 7EH".