Fields & Data

^FNField Number

Defines a numbered placeholder for reusable templates.

Category
Fields & Data
Syntax
^FNa

What ^FN does

^FN assigns a number to a field so a stored format (^DF/^XF) can be filled in later with ^FN…^FD pairs. This is how variable-data templates work: design once, then supply just the changing values per label.

Syntax

^FNa

Parameters

ParameterDescriptionValuesDefault
aField number0–9999

Example

^XA
^FO50,50^A0N,40,40^FN1^FS
^XZ
^XA
^FN1^FDActual value^FS
^XF^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.