Label Setup

^XZEnd Format

Marks the end of a label format and triggers printing.

Category
Label Setup
Syntax
^XZ

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

^XZ

Example

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

Paste 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.

See the full ZPL command reference for all 92 documented commands.

Work with your labels, not just read about them

Zentralabel converts, previews, validates, and enriches ZPL labels right in your browser — free tools for one-offs, batch processing for scale.