^FD - Field Data
Authored by RFID.me Last updated Editorial policy
Plain English
The actual content — text to display, barcode data to encode, or an RFID payload to write. Everything between `^FD` and `^FS` is the data. When the field is preceded by `^FH`, the data may include hex-escape sequences (e.g. `\20` for a space or `\5E` for a literal caret) which the printer decodes into bytes.
When to use
In every field that has content. `^FD` always pairs with `^FS`. Pair with `^FH` to embed control characters or non-printable bytes.
Syntax
^FDdata^FS
Parameters
| Parameter | Description |
|---|---|
data | The content: text, barcode number, RFID hex, or `^FH`-escaped sequence |
Example
^XA ^FO50,50^A0N,30,30^FH\^FDPrice \5E 10^FS ^XZ
`^FH\` declares `\` as the hex escape; `\5E` decodes to a literal `^`, which would otherwise start a new command.