[ESC+2D20] MAXI Code
Hexadecimal code
| ESC | <1B>16 |
|---|---|
| 2D20 | <32>16<44>16<32>16<30>16 |
Parameter
,a(,bbb,ccc,d...d)
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 MaxiCode.
Format (Setting part)
<2D20>,a(,bbb,ccc,d...d)
-
Parameter
a [Mode]
= 2: Transportation (Numeric)
= 3: Transportation (Alphanumeric)
= 4: Standard symbol
= 6: Reader programming
* Following parameter must be specified when specifying mode 2 or mode 3.
When specifying mode 4 or mode 6, the parameter should be omitted.
b [Service class] = Valid Range: 001 to 999 (Numeric)
c [Country code] = Valid Range: 001 to 999 (Numeric)
d [Postal code]
= Valid Range: 0 to 999999999 (Mode 2)
= Valid Range: 000000 to 999999 (Mode 3)
* Mode 2: Max 9 digits (Numeric only)
Mode 3: Fixed 6 digits (Capital alphabet)
Format (Data part)
<DN>mmmm,n...n
-
Parameter
m [Number of Data] = Valid Range: 1 to 138
n [Print data] = Data
* 00H cannot be specified.
| Mode | Service class | Country code | Postal code | Maximum print data: Numeric only |
Maximum print data: Alphanumeric |
|---|---|---|---|---|---|
| 2 | Fixed 3 digits (Numeric only) | Fixed 3 digits (Numeric only) | Max. 9 digits | 123 | 84 |
| 3 | Fixed 6 digits (Alphanumeric) | ||||
| 4 | Omission | 138 | 93 | ||
| 6 | |||||
Coding Example
Mode: Transportation (Numeric only), Service class: 003, Country code: 081
Postal code: 123456789
<A>
<V>100<H>200<2D20>,2,003,081,123456789
<DN>0010,0123456789
<Q>2
<Z>

Supplementary Explanation
- Size of MaxiCode are not changed by number of data for printing.
- If parameter that is not described above is used, or print data doesn't match, symbol is not printed.
- When specifying mode 4 and mode 6, number of print data must be specified over 12. When number of print data is specified less than 11, scanner cannot read printed MaxiCode.
- The maximum number of print data varies depending on the print data combination when using the print data other than alphanumeric code.
- Barcode generation module has been modified for improvement. How the generated image looks may differ due to the change, however the read result is the same.
- 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.
MaxiCode 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 | ||||||||||
MaxiCode can specify from 1H to FFH.