^FD Field Data
Defines the data string of a field: the text or barcode data that the field carries.
^FDa
^FD parameters
| Parameter | Meaning | Accepted values | Default |
|---|---|---|---|
adata to be printed (all printers), or a password to be written to an RFID tag (RFID printers)p. 190 |
The data string of the field. Required On RFID printers the same parameter can carry a password to be written to a tag. |
Any data string up to 3072 bytes. The data can be any printable character except the command prefixes ^ and ~. |
There is no default: a string of characters must be entered. |
^FD notes and gotchas
-
Gotcha
The ^ and ~ characters cannot appear directly in the data, because they are the command prefixes.
p. 190 -
Gotcha
A backslash prints only when
pp. 187, 190^CI13is the selected character set. -
Interaction
The guide points to
pp. 187, 190^FBfor the use of soft hyphens in field data.^FBgives a maximum data-string length of 3K including control characters, carriage returns and line feeds. -
Interaction
For variable fields the guide uses
p. 207^FVin place of^FD.^FVfields are always cleared after the label prints;^FDfields are not. -
Note
To print ^ or ~, the guide says to change the prefix characters and points to its
p. 190^CDentry (page 153) and its^CTentry (page 166). The new prefix characters then cannot be printed. -
Note
Characters with codes above 127, and the ^ and ~ characters, can be printed by combining
pp. 190, 193^FHwith^FD. -
Guide issue
The
pp. 152, 153, 166, 190^FDpage points to^CDfor changing a prefix character, but the^CDentry (page 153) describes the delimiter character that separates parameters (default: a comma), not a command prefix. The guide's^CTentry (page 166) changes the control prefix (default: ~), and its^CCentry (page 152) changes the format prefix (default: ^). The page does not name^CC.
^FD example
^XA ^FO40,40^A0N,30,30^FDOrder 20481^FS ^XZ
One text field. Everything between ^FD and the following ^FS is the field data; it holds no ^ or ~ character.
Guides that use ^FD
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 60, 152, 153, 166, 186, 187, 190, 193, 201, 204, 207.
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.