Skip to content

^BS UPC/EAN Extensions

The 2- or 5-digit add-on printed next to a UPC or EAN code.

^BS prints the 2- or 5-digit add-on of a UPC or EAN code, with its digits above by default; place it with its own ^FO just right of the main barcode.

Barcodes · Updated 2026-10-20

Syntax

^BSo,h,f,g

Parameters

ParameterWhat it doesValues
oRotation.N, R, I, B
hBar height, in dots.default: ^BY's
fHuman-readable line.Y or N; default Y
gPut the text line above.Y or N; default Y

Common mistakes

  • Send 2 or 5 digits. Place the add-on yourself with ^FO, a few modules right of the main code.

Example

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

Try it

Preview

100%
Output of this example
^BS 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 ^BS do in ZPL?

^BS prints the 2- or 5-digit add-on of a UPC or EAN code, with its digits above by default; place it with its own ^FO just right of the main barcode.

What is the syntax of ^BS?

^BSo,h,f,g

What should I watch out for with ^BS?

Send 2 or 5 digits. Place the add-on yourself with ^FO, a few modules right of the main code.

Related commands

Share this command
Feedback