Text & Fonts

^TBText Block

Wraps text inside a defined block width and height.

Category
Text & Fonts
Syntax
^TBa,b,c

What ^TB does

^TB places the following field's text into a rectangular block, wrapping words to the given width and clipping to the given height. Unlike ^FB it can wrap around embedded hexadecimal and works with all rotations.

Syntax

^TBa,b,c

Parameters

ParameterDescriptionValuesDefault
aBlock orientationN,R,I,BN
bBlock width in dots
cBlock height in dots

Example

^XA
^FO50,50^A0N,28,28^TBN,500,120^FDThis long text wraps inside the block width.^FS
^XZ

Paste this into the free ZPL viewer to see it render, or convert it to PDF.

Notes & tips

  • Wraps and clips text to a width/height box.
  • A newer alternative to ^FB.

See the full ZPL command reference for all 92 documented commands.

Work with your labels, not just read about them

Zentralabel converts, previews, validates, and enriches ZPL labels right in your browser — free tools for one-offs, batch processing for scale.