^FT Advanced — Justification and Concatenation

ZPL course · ZPL FAQ

Command reference: Labelary ZPL introduction.

Below, commands are bold, parameters are colored, field data stays plain.

^FT Advanced — Justification and Concatenation

Goal

Justify and concatenate typeset fields with ^FT.

Description

^FT takes an optional justification (0 left, 1 right, 2 auto) and concatenates: fields that follow without a new ^FT continue the same typeset line.

Example

^XA
^FT20,60,1^A0N,32,32^FDRight aligned^FS
^FT20,120^A0N,40,40^FDHello, ^FS
^A0N,40,40^FDworld!^FS
^XZ

Rendered ^FT advanced label

Result

“Right aligned” hugs its origin from the right; “Hello, world!” is two fields sharing one ^FT start.

Article author: Arthur Isaev