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,cParameters
| Parameter | Description | Values | Default |
|---|---|---|---|
a | Block orientation | N,R,I,B | N |
b | Block width in dots | — | — |
c | Block height in dots | — | — |
Example
^XA
^FO50,50^A0N,28,28^TBN,500,120^FDThis long text wraps inside the block width.^FS
^XZPaste 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.
Related commands
See the full ZPL command reference for all 92 documented commands.
