GS1-128-Plain
GS1-128-Plain encodes raw GS1 data supplied as a plain text string (with FNC1 characters already embedded by the caller).
Mandatory properties
The following properties are available in addition to the common label object properties and common barcode properties.
| Property | Type | Description |
|---|---|---|
| type | string | Must be GS1-128-Plain. |
| text | string | Raw GS1 data string. May contain dynamic text. |
| barHeight | number | Bar height. |
Optional properties
The following properties are available in addition to the common barcode properties.
| Property | Type | Description |
|---|---|---|
| optimize | boolean | If true, optimizes the encoding by selecting the most compact subset. Default is false. |
Example
{
"type": "GS1-128-Plain",
"x": 10.0,
"y": 10.0,
"text": "011234567890123110LOT001",
"barHeight": 15.0,
"barWidth": 0.3
}