Print Control

^FXComment

Adds a non-printing comment to the ZPL.

Category
Print Control
Syntax
^FXc^FS

What ^FX does

^FX marks a comment: everything until the next ^FS is ignored by the printer. Use it to document sections of a label format so the code is maintainable. Comments never affect output.

Syntax

^FXc^FS

Parameters

ParameterDescriptionValuesDefault
cComment text (not printed)

Example

^XA
^FX --- Address block --- ^FS
^FO50,50^A0N,30,30^FDShip to^FS
^XZ

Paste this into the free ZPL viewer to see it render, or convert it to PDF.

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.