Prints a Code 49 barcode: a multi-row, variable-length symbology that encodes the full 128-character ASCII set in a small space.
^B4o,h,f,mA Code 49 symbol has two to eight rows. Each row holds four symbol characters that encode eight data characters, between quiet zones and a stop pattern, and rows are separated by a one-module bar. The print ratio is fixed and the rows can be scanned in any order.
Automatic mode (A, the default) chooses the starting mode, does all shifts and compacts the data; numeric mode is used only for runs of five or more digits. In modes 0–5 the data must follow the Code 49 internal character set, with shifted characters sent as two-character sequences; an invalid sequence stops encoding and the symbol carries only the data before it.
This command changes the printed label, but Labelixa's preview does not apply it yet. The linter reports it as ZPL1002, so you know the preview and the print will differ.
^XA
^FO100,75^BY2
^B4N,20,A,A
^FD12345ABCDE^FS
^XZTwo-dot modules, rows 20 times the module high, interpretation line above, automatic mode.
| Parameter | Description | Values | Default |
|---|---|---|---|
o | orientation | N · R · I · B | ^FW |
h | row height multiplier: times the module width gives each row's height in dots; 1 is not recommended | ≥ 1 | ^BY |
f | interpretation line: none, above or below; with more than two rows it can run past the right edge | N · A · B | N |
m | starting mode: 0 regular alphanumeric, 1 multiple read alphanumeric, 2 regular numeric, 3 group alphanumeric, 4/5 alphanumeric shift 1/2, A automatic | 0–5 · A | A |
Zebra ZPL II Programming Guide (P1134473-11EN Rev A), page 74. Zebra guide page →