^FD Field Data

Field data ZPL caret command

Defines the data string of a field: the text or barcode data that the field carries.

Format ^FDa

^FD parameters

Parameters of ^FD
ParameterMeaningAccepted valuesDefault
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 ^CI13 is the selected character set.

    pp. 187, 190
  • Interaction

    The guide points to ^FB for the use of soft hyphens in field data. ^FB gives a maximum data-string length of 3K including control characters, carriage returns and line feeds.

    pp. 187, 190
  • Interaction

    For variable fields the guide uses ^FV in place of ^FD. ^FV fields are always cleared after the label prints; ^FD fields are not.

    p. 207
  • Note

    To print ^ or ~, the guide says to change the prefix characters and points to its ^CD entry (page 153) and its ^CT entry (page 166). The new prefix characters then cannot be printed.

    p. 190
  • Note

    Characters with codes above 127, and the ^ and ~ characters, can be printed by combining ^FH with ^FD.

    pp. 190, 193
  • Guide issue

    The ^FD page points to ^CD for changing a prefix character, but the ^CD entry (page 153) describes the delimiter character that separates parameters (default: a comma), not a command prefix. The guide's ^CT entry (page 166) changes the control prefix (default: ~), and its ^CC entry (page 152) changes the format prefix (default: ^). The page does not name ^CC.

    pp. 152, 153, 166, 190

^FD example

example.zplZPL
^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.