Skip to main content

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.

PropertyTypeDescription
typestringMust be GS1-QRCode-Plain.
textstringRaw GS1 data string. May contain dynamic text.

Optional properties

The following properties are available in addition to the common label object properties.

PropertyTypeDescription
moduleSizenumberSize of one module in millimeters. Default is 5.
sizeintegerFixed symbol size in number of modules per side. If omitted, the minimum size that fits the data is used.
quietZonebooleanEnable or disable the quiet zone. Default is true.
extraQuietZonenumberExtra quiet zone added on all sides.
colorstringColor of the dark modules. May contain dynamic text. Default is black.
eccLevelstringError correction level. Allowed values: L, M, Q, H. Default is L.
optimizebooleanIf true, optimizes the encoding. Default is false.

Example

{
"type": "GS1-QRCode-Plain",
"x": 10.0,
"y": 10.0,
"text": "011234567890123110LOT001",
"moduleSize": 0.5
}