^FB โ€” Field Block: wrapped text blocks

ZPL course ยท ZPL FAQ

Command reference: Labelary ZPL introduction.

Below, commands are bold, parameters are colored, field data stays plain.

^FB โ€” Field Block: wrapped text blocks

Goal

Wrap text into blocks with ^FB.

Description

^FB flows ^FD text into a wrapped block: block width, maximum lines, inter-line spacing, justification and hanging indent, with automatic word-wrap.

Example

^XA
^FO20,20^A0N,26,26^FB500,3,,L^FDThis long line wraps by itself inside a 500-dot block.^FS
^XZ

Rendered ^FB label

Result

The sentence reflows to left-aligned lines inside the 500-dot block.

Article author: Arthur Isaev