^FX Comment
Adds a non-printing comment to a label format. The comment runs up to the next caret or tilde command.
^FXc
^FX parameters
| Parameter | Meaning | Accepted values | Default |
|---|---|---|---|
cnon-printing commentp. 209 |
Free text that the printer ignores. It ends where the next ^ or ~ command begins. |
Informational text. A caret (^) or tilde (~) ends the comment, and the guide says to avoid using either inside it. |
Not stated in the guide. |
^FX notes and gotchas
-
Gotcha
Everything after
p. 209^FXup to the next caret or tilde command has no effect on the label. A caret or tilde inside the comment therefore ends it early, and the guide says to avoid them there. -
Note
The guide says correct use of
p. 209^FXincludes following it with^FS. -
Note
The ZBI chapter says a ZBI program can keep runtime data in printer memory by writing it as
p. 512^FXcomments inside a stored format and reading that format back. This is a ZBI technique shown in its sample programs, not a documented use of^FXin ordinary label formats. -
Note
Not stated by the guide: what ends a comment when the prefix characters have been changed. The entry names the caret and the tilde, while
pp. 152, 166, 209^CC(page 152) and^CT(page 166) change those characters.
^FX example
^XA ^FXPrice tag for shelf 12^FS ^FO40,40^A0N,30,30^FDPrice tag^FS ^XZ
The comment holds no caret or tilde, ends at the ^FS that follows it, and does not change the label. The next field is an ordinary text field.
Guides that use ^FX
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, 166, 190, 201, 204, 209, 512.
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.