^FO Advanced — Multi-Field Layouts

ZPL course · ZPL FAQ

Command reference: Labelary ZPL introduction.

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

^FO Advanced — Multi-Field Layouts

Goal

Lay out multi-field labels with ^FO.

Description

^FO coordinates are absolute from the label home — there is no relative mode. “Relative” layouts are just computed origins, as this staircase shows.

Example

^XA
^FO20,20^A0N,28,28^FDTop^FS
^FO120,90^A0N,28,28^FDMiddle^FS
^FO220,160^A0N,28,28^FDBottom^FS
^XZ

Rendered ^FO advanced label

Result

Absolute origins stepping down and right: computed, not relative.

Article author: Arthur Isaev