Plain English

Creates a text box with automatic word wrapping inside a fixed width. The printer breaks the text into lines and renders up to the configured maximum — **any text past `lines` is truncated, not overflowed**, so undersized blocks silently drop content.

When to use

For wrapped content where the box dimensions are known up-front (addresses, descriptions, compliance text). Set `lines` generously and verify wrapping with realistic worst-case data, otherwise long inputs will be silently cut.

Syntax

^FBw,lines,space,align,indent

Parameters

ParameterDescription
wWidth of the text block in dots
linesMaximum number of lines (extra lines are truncated, not overflowed)
spaceExtra space between lines in dots (0 = auto from font)
alignL (left), C (centre), R (right), J (full-justified)
indentHanging indent in dots — applied to lines 2..n only (not line 1)

Example

^XA
^FO50,50^A0N,22,22
^FB400,3,5,C,0
^FDThis is a long description that will wrap within 400 dots, centred, max 3 lines. Anything past three lines is dropped.^FS
^XZ

3-line max, centre-justified. Worth confirming wrapping with realistic worst-case input.

Try it in the playground View all ZPL commands