Skip to content

^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

ParameterWhat it doesValues
aWidth of the text block, in dots.0 to the label width; default 0
bMaximum number of lines.1 to 9999; default 1
cExtra space between lines, in dots.-9999 to 9999; default 0
dJustification.L, C, R or J; default L
eHanging 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.

Try it

Preview

100%

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.

Related commands