^TB

^TB

The
^TB
command prints a text block with defined width and height. The text block has an automatic word-wrap function. If the text exceeds the block height, the text is truncated. This command supports complex text layout features.

Text Blocks

This command is available only for printers with firmware version V60.14.x, V50.14.x, or later.
^TB
is the preferred command for printing fields or blocks of text, instead of
^FB
.
Format:
^TBa,b,c
Parameters
Details
a =
block rotation
Values:
N =
normal
R =
rotate 90 degrees clockwise
I =
invert 180 degrees
B =
read from bottom up-270 degrees
Default:
whatever was specified by the last
^A
(which has the default of
^FW
)
b =
block width in dots
Values:
1
to the width of the label in dots
Default:
1 dot
c =
block height in dots
Values:
1
to the length of the label in dots
Default:
1 dot
Comments:
Facts about the
^TB
command:
  • Justification of
    ^TB
    command comes from
    ^FO, ^FT
    , or
    ^FN
    command. If no justification is determined then the default is auto justification.
  • Data between < and > is processed as an escape sequence; for example,
    << >
      will print   
    <
    .
  • The
    ^TB
    command has an automatic word-wrap function. Soft hyphens do not print and are not used as a line break position.