Grid Matrix - Barcode Type¶
A two-dimensional, variable-size square matrix symbology designed specifically to encode Chinese characters. The symbol consists of an array of square blocks called macromodules, each with its own dark or light frame.
The most recently developed encoding standard supported by Zint, Grid Matrix became an AIM standard in December 2008. This encoding allows Latin-1 and Chinese characters within the GB 2312 standard set to be encoded in a checkerboard pattern. Input should be entered as a UTF-8 stream, with conversion to GB 2312 carried out automatically by Zint. The size of the symbol and the error correction capacity can be specified. If both values are specified, Zint will make a 'best-fit' attempt to satisfy both conditions. The symbol size can be specified using the ver= option or by setting option_2, and the error correction capacity can be specified using the security= option or by setting option_1 according to the following tables:
| Input | Size |
|---|---|
| 1 | 18 x 18 |
| 2 | 30 x 30 |
| 3 | 42 x 42 |
| 4 | 54 x 54 |
| 5 | 66 x 66 |
| 6 | 78 x 78 |
| 7 | 90 x 90 |
| 8 | 102 x 102 |
| 9 | 114 x 114 |
| 10 | 126 x 126 |
| 11 | 138 x 138 |
| 12 | 150 x 150 |
| 13 | 162 x 162 |
| Mode | Error Correction Capacity |
|---|---|
| 1 | Approximately 10% |
| 2 | Approximately 20% |
| 3 | Approximately 30% |
| 4 | Approximately 40% |
| 5 | Approximately 50% |
