What ^XZ does
^XZ closes the label opened by ^XA. When the printer receives ^XZ it renders and prints the label (subject to ^PQ quantity). Multiple ^XA…^XZ blocks in one file print as multiple labels.
Syntax
^XZExample
^XA
^FO50,50^A0N,40,40^FDDone^FS
^XZPaste this into the free ZPL viewer to see it render, or convert it to PDF.
Notes & tips
- Every ^XA must have a matching ^XZ.
- Use one ^XA…^XZ block per label.
Related commands
See the full ZPL command reference for all 92 documented commands.
