^FB Field Block
Wraps text into a block with a width, line count and alignment.
Fields and position · Updated 2026-10-20
Syntax
^FBa,b,c,d,e
Parameters
| Parameter | What it does | Values |
|---|---|---|
a | Width of the text block, in dots. | 0 to the label width; default 0 |
b | Maximum number of lines. | 1 to 9999; default 1 |
c | Extra space between lines, in dots. | -9999 to 9999; default 0 |
d | Justification. | L, C, R or J; default L |
e | Hanging indent of lines after the first, in dots. | 0 to 9999; default 0 |
Common mistakes
- Text that doesn't fit the number of lines overprints the last line. Raise b or shrink the font.
- ^FB with b = 1 and justification C or R is the usual way to centre or right-align one line.
Example
Edit the code and the label redraws. This is the same engine as the API.
Questions
What does ^FB do in ZPL?
Wraps text into a block with a width, line count and alignment.
What is the syntax of ^FB?
^FBa,b,c,d,e
What should I watch out for with ^FB?
Text that doesn't fit the number of lines overprints the last line. Raise b or shrink the font.