^FD — Field Data: the text and barcode payload

ZPL course · ZPL FAQ

Command reference: Labelary ZPL introduction.

Below, commands are bold, parameters are colored, field data stays plain.

^FD — Field Data: the text and barcode payload

Goal

Put the text payload into a field with ^FD.

Description

^FD carries the payload of a field — printable text for ^A fields, digits for barcode fields. Everything up to ^FS belongs to the data.

Example

^XA
^FO20,20^A0N,28,28^FDPlain text 123!?^FS
^FO20,70^A0N,28,28^FDCommas, dots... fine^FS
^XZ

Rendered ^FD label

Result

Punctuation and digits print as-is; even the comma inside the data is harmless.

Article author: Arthur Isaev