[ESC+2D70] Aztec Code
Hexadecimal code
| ESC | <1B>16 |
|---|---|
| 2D70 | <32>16<44>16<37>16<30>16 |
Parameter
,a,bb,cc,dd,e,f...f
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
Specifies Aztec Code.
Format (Setting Portion)
<2D70>,a,bb,cc,dd,e,f...f
-
Parameter
a [Symbol Type]
= 0: Full Range Symbol
= 1: Compact Symbol
b [ECC Percentage]
= 0: Default error correction level
= 01 to 99: Error correction percentage
c [Symbol Size]
= 0: Automatic minimization
= 1 to 4: 1 to 4 - layer (Compact Symbol)
* Following symbol size table reference.
= 4 to 32: 4 to 32 - layer (Full Range Symbol)
* Following symbol size table reference.
d [Number of symbols for structured append]
= 0: Encodes without append
= 1: Automatic Setting
= 2-26: Append structured blocks
e [Message ID]
= Y: Specify Message ID for structured bound symbol
= N: No Message ID
f [Message ID for structured Bound symbol] = Printable ASCII string (0x21-0x7E) with maximum 24 bytes.
Format (Data part)
<DS>n...n // for ASCII data
<DN>mmmm, n...n // for Binary data
-
Parameter
m [Number of Data] = 0001 to 1914
- Set this parameter when Print data are in Binary.
n [Print data] = Data
- When selecting [1BH], make sure to specify [1BH,1BH].
- When selecting [FNC1], make sure to specify [1BH,30H]
- When selecting [ECI], make sure to specify [1BH,*]. ('*' refers from 31H to 36H.)
Coding Example
Symbol Type: Compact, ECC Percentage: Default, Symbol Size: 2 layer, Structured Append: Without append, Message ID: No, Message ID for structured bound symbol: None, Barcode Data: THIS IS TEST.
<A>
<V>0100<H>0100<L>0404
<2D70>,1,0,2,0,N,<DS>THIS IS TEST
<Q>1
<Z>
-
Generated Label

Supplementary Explanation
- When parameters other than the description are specified, symbol may not print.
- When the size of the Aztec code is small, the symbol might not be able to read according to the performance of the scanner. In that case, please magnify the size of the symbol to make it large enough by using <ESC>L command maintaining the same ratio of magnification for both length and width.
- The smallest symbol size is 15 x 15 modules and largest is 151 x 151 modules. Available Aztec code formats and its maximum capacity are as follows:
Symbol size tableParameter c Format Digit Text Binary data 1 15 x 15 Compact 13 12 6 2 19 x 19 Compact 40 33 19 3 23 x 23 Compact 70 57 33 4 27 x 27 Compact 110 89 53 4 31 x 31 128 104 62 5 37 x 37 178 144 87 6 41 x 41 232 187 114 7 45 x 45 294 236 145 8 49 x 49 362 291 179 9 53 x 53 433 348 214 10 57 x 57 516 414 256 11 61 x 61 601 482 298 12 67 x 67 691 554 343 13 71 x 71 793 636 394 14 75 x 75 896 718 446 15 79 x 79 1008 808 502 16 83 x 83 1123 900 559 17 87 x 87 1246 998 621 18 91 x 91 1378 1104 687 19 95 x 95 1511 1210 753 20 101 x 101 1653 1324 824 21 105 x 105 1801 1442 898 22 109 x 109 1956 1566 976 23 113 x 113 2116 1694 1056 24 117 x 117 2281 1826 1138 25 121 x 121 2452 1963 1224 26 125 x 125 2632 2107 1314 27 131 x 131 2818 2256 1407 28 135 x 135 3007 2407 1501 29 139 x 139 3205 2565 1600 30 143 x 143 3409 2728 1702 31 147 x 147 3616 2894 1806 32 151 x 151 3832 3067 1914 - Aztec code is settable within the range (00H - FFH).
For Binary data, user needs to set the data number properly by using the <ESC>DN command. If Data number and Print data doesn't match, symbol will not print properly. - When print data is [1BH], specify [1BH,1BH]. Data number becomes [0002].
- Use [1BH,*] in pairs within input data when presenting ECI . '*' must be a value between 31H and 36H. The number in the following FLG(1) - FLG(6) are the number of digits of the data to be used for ECI.
- <ESC>1→FLG(1) The number of digits specified for ECI data is 1 digit.
- <ESC>2→FLG(2) The number of digits specified for ECI data is 2 digits.
- <ESC>3→FLG(3) The number of digits specified for ECI data is 3 digits.
- <ESC>4→FLG(4) The number of digits specified for ECI data is 4 digits.
- <ESC>5→FLG(5) The number of digits specified for ECI data is 5 digits.
- <ESC>6→FLG(6) The number of digits specified for ECI data is 6 digits.
e.g.) A sample data with <ESC>4: <ESC>41111ABCDE
The scanned data when <ESC>4 will be "\001111ABCDE" ( '\' may differ depending on scanner settings).- <ESC>4 means FLG(4). The succeeding "1111" (4 digits) will be treated as ECI data.
- Since it is short by 2 digits, 0 is padded in the beginning to make it "\001111".
- The message ID is enabled only when it is separated to print after automatic setting with "Number of symbols for structured append" with specifying "Append structured blocks".
- 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.
Aztec 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 | ||||||||||
| Data n | Data n+1 | |
| FNC1 | 1BH | 30H |
| ECI | 1BH | 31H to 36H |
Aztec code is settable within the range (00H - FFH).
To set 1BH, specify [1BH, 1BH]
To set FNC1, specify [1BH, 30H].
To set ECI, specify [1BH, *]. ('*' refer from 31H to 36H.)