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
^FNaParameters
| Parameter | Description | Values | Default |
|---|---|---|---|
a | Field number | 0–9999 | — |
Example
^XA
^FO50,50^A0N,40,40^FN1^FS
^XZ
^XA
^FN1^FDActual value^FS
^XF^XZPaste this into the free ZPL viewer to see it render, or convert it to PDF.
Related commands
See the full ZPL command reference for all 92 documented commands.
