^FV Field Variable

Field data ZPL caret command

Carries the data of a variable field. It takes the place of ^FD, and its data is cleared after the label prints.

Format ^FVa

^FV parameters

Parameters of ^FV
ParameterMeaningAccepted valuesDefault
avariable field data to be printedp. 207

The data string of the variable field.

0 to 3072 bytes

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

    ^FV fields are always cleared after the label is printed, while ^FD fields are not.

    p. 207
  • Interaction

    The guide pairs ^FV with ^MC, which keeps the bitmap of the current label as a background for the next one. It says a label template needs ^MC together with ^FV: the fixed parts stay and only the ^FV data changes. In its example, the first label is sent with ^MCN, and a second label that holds only a ^FV field is sent with ^MCY.

    pp. 207, 300
  • Interaction

    ^FH can be used with ^FV data, so hexadecimal values can stand for characters in a variable field, as with ^FD.

    p. 193
  • Note

    ^FV is used instead of ^FD when the field is variable. The length limit given for it is the same 3072 bytes the guide gives for ^FD.

    pp. 190, 207
  • Note

    For stored formats the guide uses a different mechanism, ^FN, to mark fields that are filled in on recall.

    pp. 200, 207

^FV example

example.zplZPL
^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.