[ESC+2D12] Micro PDF417
Hexadecimal code
| ESC | <1B>16 |
|---|---|
| 2D12 | <32>16<44>16<31>16<32>16 |
Parameter
,aa,bb,c,dd(,e)
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 Micro PDF417.
Format (Setting part)
<2D12>,aa,bb,c,dd(,e)
-
Parameter
a [Minimum module width] = Valid Range: 01 to 27 dots
b [Minimum module height] = Valid Range: 01 to 72 dots
c [Number of data code words per rows] (Cols) = Valid Range: 1 to 4
d [Number of rows per symbol] = Valid Range: 2 rows
e [Binary mode]
= 0: Normal, When omitted 0 (Can be omitted)
= 1: Binary mode
Format (Data part)
<DN>mmmm,n...n: Binary mode is Binary mode
<DS>n...n: Binary mode is Normal
-
Parameter
m [Number of data] = Valid Range: 0001 to 0366 bytes
n [Print data] = Data
Coding Example
Module width: 02 dots, Minimum module height: 04 dots
Data code word per rows: 1, Rows per symbol: 14
<A>
<V>100<H>200<2D12>,02,04,1,14
<DN>0010,0123456789
<Q>2
<Z>

Supplementary Explanation
- Number of row per symbol is decided by number of data code words per row.
For details, refer to "Symbol size and number of data for Micro PDF417". - Recommended to specify more than 2 dots for 8 dots/mm and 12 dots/mm print head, and 4 dots for 24 dots/mm print head because the minimum module width and minimum module height of QR code may not be read by the scanner.
- 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.
Note: Symbol size of Micro PDF417 has 34 types and shown in the table below.
Micro PDF417 - symbol size and number of data
| Symbol size: Cols I |
Symbol size: Rows (d) |
Maximum number of data: Alphabet (A-Z) |
Maximum number of data: Numeric |
Maximum number of data: Binary mode |
|---|---|---|---|---|
| 1 | 11 | 6 | 8 | 3 |
| 14 | 12 | 17 | 7 | |
| 17 | 18 | 26 | 10 | |
| 20 | 22 | 32 | 13 | |
| 24 | 30 | 44 | 18 | |
| 28 | 38 | 55 | 22 | |
| 2 | 8 | 14 | 20 | 8 |
| 11 | 24 | 35 | 14 | |
| 14 | 36 | 52 | 21 | |
| 17 | 46 | 67 | 27 | |
| 20 | 56 | 82 | 33 | |
| 23 | 64 | 93 | 38 | |
| 26 | 72 | 105 | 43 | |
| 3 | 6 | 10 | 14 | 6 |
| 8 | 18 | 26 | 10 | |
| 10 | 26 | 38 | 15 | |
| 12 | 34 | 49 | 20 | |
| 15 | 46 | 67 | 27 | |
| 20 | 66 | 96 | 39 | |
| 26 | 90 | 132 | 54 | |
| 32 | 114 | 167 | 68 | |
| 38 | 138 | 202 | 82 | |
| 44 | 162 | 237 | 97 | |
| 4 | 4 | 14 | 20 | 8 |
| 6 | 22 | 32 | 13 | |
| 8 | 34 | 49 | 20 | |
| 10 | 46 | 67 | 27 | |
| 12 | 58 | 85 | 34 | |
| 15 | 76 | 111 | 45 | |
| 20 | 106 | 155 | 63 | |
| 26 | 142 | 208 | 85 | |
| 32 | 178 | 261 | 106 | |
| 38 | 214 | 313 | 128 | |
| 44 | 250 | 366 | 150 |
* Way of mixing alphabets (Capital, lower case), numeric characters and control codes differs by combination of number of characters.
Micro PDF417 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 | ||||||||||
Micro PDF417 can specify (00)16 to (FF)16 to print data when binary mode is specified.