GS1-128-Plain
GS1-128-Plain encodes GS1 data supplied as a plain text string using parenthesized Application Identifier (AI) notation, for example (01)12345678901231(10)LOT001.
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 | GS1 data string in parenthesized AI notation. 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": "(01)12345678901231(10)LOT001",
"barHeight": 15.0,
"barWidth": 0.3
}