^FV Field Variable
Carries the data of a variable field. It takes the place of ^FD, and its data is cleared after the label prints.
^FVa
^FV parameters
| Parameter | Meaning | Accepted values | Default |
|---|---|---|---|
avariable field data to be printedp. 207 |
The data string of the variable field. |
A string of 0 to 3072 bytes. |
The guide gives no default value; if no data is entered, the command is ignored. |
^FV notes and gotchas
-
Gotcha
p. 207^FVfields are always cleared after the label is printed, while^FDfields are not. -
Interaction
The guide pairs
pp. 207, 300^FVwith^MC, which keeps the bitmap of the current label as a background for the next one. It says a label template needs^MCtogether with^FV: the fixed parts stay and only the^FVdata changes. In its example, the first label is sent with^MCN, and a second label that holds only a^FVfield is sent with^MCY. -
Interaction
p. 193^FHcan be used with^FVdata, so hexadecimal values can stand for characters in a variable field, as with^FD. -
Note
pp. 190, 207^FVis used instead of^FDwhen the field is variable. The length limit given for it is the same 3072 bytes the guide gives for^FD. -
Note
For stored formats the guide uses a different mechanism,
pp. 200, 207^FN, to mark fields that are filled in on recall.
^FV example
^XA ^FO40,40^A0N,30,30^FDLot^FS ^FO40,90^A0N,30,30^FVA-7731^FS ^XZ
Two text fields. The first holds fixed data with ^FD. The second holds variable data with ^FV, so its content is cleared once the label has printed, while the ^FD field is not.
Guides that use ^FV
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, 190, 193, 200, 201, 204, 207, 300, 341.
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.