^FN Field Number
Gives a field a number so that a stored format (^DF) can mark where data goes and a recalling format (^XF) can fill it in.
^FN#"a"
^FN parameters
| Parameter | Meaning | Accepted values | Default |
|---|---|---|---|
#number to be assigned to the fieldp. 200 |
The number that identifies the field. The same number can be stored with several different fields. |
|
0
|
"a"optional parameterp. 200 |
A text prompt, written in double quotes, that is shown on a KDU Plus unit, and in the field prompt of the Print on Label link on the Directory page of ZebraLink-enabled printers. Optional FirmwareOnly available on printers with firmware V50.13.2, V53.15.5Z, V60.13.0.1 or later. |
Up to 255 alphanumeric characters. The guide lists a-z, A-Z, 1-9 and the space; it does not list 0. The characters must be surrounded by double quotes for the parameter to work as a prompt. |
The guide only says the parameter is optional. |
^FN notes and gotchas
-
Gotcha
The guide advises 400 or fewer
p. 200^FNfields in one format and says the maximum depends on how much data the fields hold. The amount stored also depends on the printer's available memory. -
Interaction
If a format holds a field with both
p. 200^FNand^FD, that data is printed in any other field that carries the same^FNnumber. -
Interaction
The calling format must contain
p. 372^FNcommands for the data to merge properly into a recalled format. -
Interaction
The guide recommends against using
pp. 200, 206, 356^FTwithout x and y together with^FN. For^TBit names^FN, along with^FOand^FT, as a command that can supply the block's justification, although the^FNentry lists no justification parameter. -
Note
In a stored format
pp. 174, 200, 372^FNstands where^FDwould normally stand. In the format that recalls it,^FNis used together with^FDto supply the data for that numbered field. -
Note
Other commands refer to
pp. 191, 239^FNnumbers.^FEuses them to concatenate fields and extract parts of them, and^HVreturns the data of fields numbered with^FNto the host. Their entries are on pages 191 and 239. -
Note
The guide's worked example of
pp. 57, 200^DFand^XFtogether is Exercise 6 on page 57, where numbered fields in a stored format are filled by a later format.
^FN example
^XA ^DFR:ITEM.ZPL^FS ^FO40,40^A0N,30,30^FN1^FS ^FO40,90^A0N,30,30^FN2^FS ^FO40,140^A0N,30,30^FN3^FS ^XZ ^XA ^XFR:ITEM.ZPL^FS ^FN1^FDBolt M8^FS ^FN2^FD250 pcs^FS ^FN3^FDShelf C4^FS ^XZ
The first format stores three numbered text fields under the name ITEM.ZPL on drive R:, with no data. The second format recalls it and supplies data for fields 1, 2 and 3 with ^FN and ^FD, each ended by ^FS.
Guides that use ^FN
BarcoderX is a .NET SDK for thermal labels and barcodes. See how it prints and exports labels.
Source Zebra, ZPL II, ZBI 2, Set-Get-Do, Mirror, WML Programming Guide, P1134473-11EN Rev A, 2026/07/05, pages 57, 60, 174, 191, 200, 201, 204, 206, 207, 239, 356, 372.
Written by BarcoderX in its own words. Checked against the guide on 2026-11-14.
ZPL and ZPL II are trademarks of Zebra Technologies Corporation. This reference is written by BarcoderX in its own words from Zebra's published programming guide. BarcoderX is an independent product and is not affiliated with, endorsed by or sponsored by Zebra Technologies.