Skip to command documentation
Supportedstoragerasterfield scope
^FN

Field Number

^FN configures field Number. It applies to the current field and can change pixels in the rendered label.

Syntax
^FN#"a"
#

Number to be assigned to the field

Sets number to be assigned to the field. It can be omitted when the documented default is suitable.

Default
0
Range
0–9999
Required
No
Documented values09999

# variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison2 variations

# = 0

Uses 0 for number to be assigned to the field while the other command values stay at representative defaults.

ZPLcaret-fn-value-1.zpl
^XA
^PW640
^LL360
^FO28,24^GB584,270,3,B,16^FS
^FO58,125^A0N,42,38^FDJob command^FS
^FO28,318^A0N,22,22^FDCaret FN parameter example^FS
^XZ
^FN0"Name"
Renderer8 dpmm
Preview loads in your browser

# = 1

Uses 1 for number to be assigned to the field while the other command values stay at representative defaults.

ZPLcaret-fn-value-2.zpl
^XA
^PW640
^LL360
^FO28,24^GB584,270,3,B,16^FS
^FO58,125^A0N,42,38^FDJob command^FS
^FO28,318^A0N,22,22^FDCaret FN parameter example^FS
^XZ
^FN1"Name"
Renderer8 dpmm
Preview loads in your browser
a

Prompt text

Sets prompt text. It can be omitted when the documented default is suitable.

Default
optional parameter
Required
No
Documented valuesName

a variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison2 variations

a = Name

Uses Name for prompt text while the other command values stay at representative defaults.

ZPLcaret-fn-a-1.zpl
^XA
^PW640
^LL360
^FO28,24^GB584,270,3,B,16^FS
^FO58,125^A0N,42,38^FDJob command^FS
^FO28,318^A0N,22,22^FDCaret FN parameter example^FS
^XZ
^FN0"Name"
Renderer8 dpmm
Preview loads in your browser

a = SAMPLE

Uses SAMPLE for prompt text while the other command values stay at representative defaults.

ZPLcaret-fn-a-2.zpl
^XA
^PW640
^LL360
^FO28,24^GB584,270,3,B,16^FS
^FO58,125^A0N,42,38^FDJob command^FS
^FO28,318^A0N,22,22^FDCaret FN parameter example^FS
^XZ
^FN0"SAMPLE"
Renderer8 dpmm
Preview loads in your browser

Primary source

Official Zebra reference

Use the manufacturer reference for printer- and firmware-specific behavior beyond ZPLr’s pinned rendering profile.

Open Zebra documentation

ZPLr Command Reference

Independent documentation for the pinned ZPL II 2025 renderer profile. Examples run locally in your browser.

ZPL, ZPL II, Zebra, and Zebra Programming Language are trademarks or registered trademarks of Zebra Technologies Corp. ZPLr is independent and is not affiliated with or endorsed by Zebra Technologies Corp.