ZPL commands

^BR · GS1 DataBar Bar Code

Generates a GS1 DataBar code formerly RSS; compact GS1 symbology, e.g. for loose produce .

Generates a GS1 DataBar code (formerly RSS; compact GS1 symbology, e.g. for loose produce).

Parameters

  • ^BRa,b,c,d,e,f - a: Orientation (N/R/I/B)
  • ^BRa,b,c,d,e,f - b: Type: 1 = omnidirectional, 2 = truncated, 3 = stacked, 4 = stacked omnidirectional, 5 = limited, 6 = expanded, 7 = UPC-A, 8 = UPC-E, 9 = EAN-13, 10 = EAN-8, 11 = UCC/EAN-128 with CC-A/B, 12 = UCC/EAN-128 with CC-C
  • ^BRa,b,c,d,e,f - c: Magnification factor (1–10)
  • ^BRa,b,c,d,e,f - d: Separator height (1 or 2, default 1)
  • ^BRa,b,c,d,e,f - e: Bar code height in dots (only the linear part of composite codes; default 25)
  • ^BRa,b,c,d,e,f - f: Segment width for expanded (2–22, even values only, default 22)

Example

^XA
^FO50,50^BRN,1,3,1,100^FD0491234567890^FS
^XZ
ZPL preview: ^BR · GS1 DataBar Bar Code

Tip

For GS1 DataBar Omnidirectional pass the 13-digit GTIN without the application identifier (01) and without the check digit - the printer calculates the check digit. Type 6 (expanded) holds several GS1 application identifiers.

Notes

Not every printer firmware supports all DataBar types - verify first.