^XA Deep Dive — Label Format Structure

ZPL course · ZPL FAQ

Command reference: Labelary ZPL introduction.

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

^XA Deep Dive — Label Format Structure

Goal

Master the label format structure (^XA deep dive).

Description

^XA takes no parameters and must be the first command of a label — everything before it is ignored by the printer.

Example

^XA
^FX A label opens here; nothing before this prints.
^FO20,20^A0N,28,28^FDLabel one of one^FS
^XZ

Rendered ^XA deep dive label

Result

^FX comments never print; the label is a single text field.

Article author: Arthur Isaev