What ^FD does
^FD holds the data that a font or barcode command renders. Whatever follows ^FD, up to the ^FS separator, becomes the printed text or the encoded barcode value. It is one of the two or three commands present on virtually every field.
Syntax
^FDaParameters
| Parameter | Description | Values | Default |
|---|---|---|---|
a | The data string to print/encode | — | — |
Example
^XA
^FO50,50^A0N,40,40^FDOrder #10432^FS
^XZPaste this into the free ZPL viewer to see it render, or convert it to PDF.
Notes & tips
- Always close ^FD with ^FS.
- The ^ and ~ characters are reserved — use ^FH to escape them.
Related commands
See the full ZPL command reference for all 92 documented commands.
