Skip to content

^BR GS1 DataBar

GS1 DataBar (formerly RSS): compact GTIN barcodes for produce and coupons.

^BR prints a GS1 DataBar: ^BRN,1,3,1,100 draws an omnidirectional symbol for a 13-digit GTIN at magnification 3, adding the check digit; types 2 to 6 are truncated, stacked, limited and expanded.

Barcodes · Updated 2026-10-20

Syntax

^BRa,b,c,d,e,f

Parameters

ParameterWhat it doesValues
aRotation.N, R, I, B
bType.1 omnidirectional, 2 truncated, 3 stacked, 4 stacked omnidirectional, 5 limited, 6 expanded, 7-12 composites
cMagnification.1 to 10
dSeparator height.1 or 2
eBar height, in dots.for some types
fSegments per row (expanded).2 to 22, even

Common mistakes

  • Types 1 to 5 take a GTIN of 13 digits (the check digit is added) or 14 with a correct check digit.
  • OpenZPL draws types 1 to 6; the composite types 7 to 12 are not drawn yet.

Example

Edit the code and the label redraws. This is the same engine as the API.

Try it

Preview

100%
Output of this example
^BR example rendered by the OpenZPL engine
4 × 3 in at 203 dpi, rendered by the OpenZPL engine when this page was published.

Questions

What does ^BR do in ZPL?

^BR prints a GS1 DataBar: ^BRN,1,3,1,100 draws an omnidirectional symbol for a 13-digit GTIN at magnification 3, adding the check digit; types 2 to 6 are truncated, stacked, limited and expanded.

What is the syntax of ^BR?

^BRa,b,c,d,e,f

What should I watch out for with ^BR?

Types 1 to 5 take a GTIN of 13 digits (the check digit is added) or 14 with a correct check digit.

Related commands

Share this command
Feedback