← All guides

^XA · Label start

Marks the beginning of the ZPL format.

Effect

Everything that follows belongs to the current label.

Example

^XA
^FO50,50^A0N,40,40^FDEditorZPL^FS
^XZ

Tip

Usually placed at the beginning alongside ^PW/^LL when defining label size.

Frequently asked questions

What is ^XA used for in ZPL?

See the description and values above: they explain what ^XA does and how to use it inside a ZPL label.

How do I test ^XA without a printer?

Copy the example, paste it into the ZPL viewer and see the result instantly in your browser.

Related tools