Prints the two- or five-digit UPC/EAN add-on symbol used mainly by publishers (ISBN) next to UPC-A and UPC-E barcodes.
^BSo,h,f,gThe extension is a separate barcode with a fixed print ratio, designed for UPC-A (^BU) and UPC-E (^B9). Its data is exactly two or five digits: the printer truncates longer data or pads it on the left with zeros.
You place it next to the main code yourself, with its own ^FO, so that the composite stays within the UPC specification. The guide recommends an extension 27 dots (0.135 in) shorter than the main code — a 183-dot UPC-A takes a 155-dot extension.
Labelixa's preview draws this command.
^XA
^FO100,100^BY2
^BSN,155,Y,Y
^FD04414^FS
^XZA five-digit extension 155 dots high, with the interpretation line above it.
| Parameter | Description | Values | Default |
|---|---|---|---|
o | orientation | N · R · I · B | ^FW |
h | barcode height in dots | 1–32000 | ^BY |
f | print the interpretation line | N · Y | Y |
g | print the interpretation line above the code | N · Y | Y |
Zebra ZPL II Programming Guide (P1134473-11EN Rev A), page 137. Zebra guide page →