What ^B3 does
^B3 creates a Code 39 barcode, a widely supported symbology that encodes uppercase letters, digits, and a few symbols. It's common in inventory, ID, and older logistics systems because nearly every scanner reads it.
Syntax
^B3o,e,h,f,gParameters
| Parameter | Description | Values | Default |
|---|---|---|---|
o | Orientation | N, R, I, B | — |
e | Mod-43 check digit | Y, N | N |
h | Bar height, dots | — | — |
f | Interpretation line | Y, N | Y |
Example
^XA
^BY2,3,100
^FO50,50^B3N,N,100,Y,N^FDSKU12345^FS
^XZPaste this into the free ZPL viewer to see it render, or convert it to PDF.
Related commands
See the full ZPL command reference for all 92 documented commands.
