^XZ Deep Dive — Closing Formats, Printing Copies

ZPL course · ZPL FAQ

Command reference: Labelary ZPL introduction.

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

^XZ Deep Dive — Closing Formats, Printing Copies

Goal

Close formats and print copies (^XZ deep dive).

Description

^XZ closes the format and releases the label for printing. Several ^XA…^XZ pairs can ride one stream — each prints as its own label.

Example

^XA
^FO20,20^A0N,28,28^FDFirst label^FS
^XZ
^XA
^FO20,20^A0N,28,28^FDSecond label^FS
^XZ

Rendered ^XZ deep dive label

Result

One stream, two labels — the preview renders the first one.

Article author: Arthur Isaev