GS1-QRCode-Plain
GS1-QRCode-Plain encodes raw GS1 data supplied as a plain text string in a QR Code symbol.
Mandatory properties
The following properties are available in addition to the common label object properties.
| Property | Type | Description |
|---|---|---|
| type | string | Must be GS1-QRCode-Plain. |
| text | string | Raw GS1 data string. May contain dynamic text. |
Optional properties
The following properties are available in addition to the common label object properties.
| Property | Type | Description |
|---|---|---|
| moduleSize | number | Size of one module in millimeters. Default is 5. |
| size | integer | Fixed symbol size in number of modules per side. If omitted, the minimum size that fits the data is used. |
| quietZone | boolean | Enable or disable the quiet zone. Default is true. |
| extraQuietZone | number | Extra quiet zone added on all sides. |
| color | string | Color of the dark modules. May contain dynamic text. Default is black. |
| eccLevel | string | Error correction level. Allowed values: L, M, Q, H. Default is L. |
| optimize | boolean | If true, optimizes the encoding. Default is false. |
Example
{
"type": "GS1-QRCode-Plain",
"x": 10.0,
"y": 10.0,
"text": "011234567890123110LOT001",
"moduleSize": 0.5
}