I have to print a variable text in a field block of a ZPL label.
I would like to know if it is possibile to define block width and then automatically wrap text or if it is not possible and I have to manually add a new line char or split the text in two blocks.
There is no specific feature in ZebraDesigner that will automatically wrap text when entering a lengthy or variable text entry. To create a Word Wrap box in ZebraDesigner, use the ZPL command features by using Field Block (^FB) or Text Block (^TB) commands.
Right-click the object, select the Wrapping Style option, and then choose the Edit Wrap Boundary option. Or use Layout tab -> Wrapping -> Edit Wrap Boundary. Drag image points to change the shape's margin. If you need a new wrap point, just click anywhere on the red line and drag it to the required position.
These are the major differences between ZPL and ZPL II: With ZPL II, all data fields are formatted as they are received. In standard ZPL, the data fields are not processed until after the ^XZ (End Format) command is received. New commands and enhancements to existing commands were added into the ZPL II language.
Use the ^FB – Field Block command in the manual
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With