Limiting Viewed Characters in a Text Field using the ^TB Text Box command

Article ID: 12260801



Topic or Information

How to limit the characters so only a fixed number are printed on a label

Applies To

Printers using ZPL (Note: This command is available only for printers with firmware version V60.14.x, V50.14.x, or later.)

Excludes ZQ110, EM220, EM220II, 2824 Series, 2844 Series, S4M (E53 Firmware), ZM Series (E53 Firmware) 888 Series


A user may want to print a limited number of characters from a database or other sources. If there is a known number of characters needed one can limit the viewed characters using the ZPL Text Block command.

Text Block (^TB) command Read More>>


Place a Text Block (^TB) around the text you wish to view. The remaining text outside of the Text Block will not be printed.


^XA^FO50,50^ADN,36,20^TBN,350,35^FDText for Label and More^FS^XZ

Note: You may be limited to fixed-width (non-proportional) fonts to avoid variable spacing between characters such a “W” and “I”. Test your application for proper character presentation. 

User-added image

Maurits K