ZPL commands

^FB · Field Block

Defines a text block with fixed width, line count and alignment - text wraps automatically.

Defines a text block with fixed width, line count and alignment - text wraps automatically.

Parameters

  • ^FBa,b,c,d,e - a: Block width in dots (default 0)
  • ^FBa,b,c,d,e - b: Maximum number of lines (1–9999, default 1)
  • ^FBa,b,c,d,e - c: Extra line spacing in dots (−9999 to 9999, default 0)
  • ^FBa,b,c,d,e - d: Justification: L = left (default), C = center, R = right, J = justified
  • ^FBa,b,c,d,e - e: Hanging indent of the following lines in dots (0–9999, default 0)

Example

^XA
^FO50,50^A0N,30,30^FB300,3,5,C^FDLong text wraps automatically in the block\&Line 3^FS
^XZ
ZPL preview: ^FB · Field Block

Tip

Ideal for addresses and descriptions: ^FB fills up to width a, the rest moves to the next line. \& forces a line break; if the text does not fit into b lines, the last line is overprinted.