Skip to main content

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.

PropertyTypeDescription
typestringMust be GS1-128-Plain.
textstringGS1 data string in parenthesized AI notation. May contain dynamic text.
barHeightnumberBar height.

Optional properties​

The following properties are available in addition to the common barcode properties.

PropertyTypeDescription
optimizebooleanIf 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
}