^XF Recall Format
Recalls a format stored with ^DF so that it is merged with variable data supplied through ^FN fields in the calling format.
^XFd:o.x
^XF parameters
| Parameter | Meaning | Accepted values | Default |
|---|---|---|---|
dsource device of stored imagep. 372 |
The drive to recall the stored format from. |
|
A search in the order R:, E:, B:, A:. |
oname of stored imagep. 372 |
The name the format was stored under. |
1 to 8 alphanumeric characters. |
UNKNOWNUsed when no name is specified. |
xextensionp. 372 |
The file type of the stored format. |
The guide gives .ZPL as a fixed value. |
.ZPLFixed value. |
^XF notes and gotchas
-
Gotcha
To merge data with
pp. 200, 372^FNfields, the calling format must contain the^FNcommands. The data of a field is given in the calling format with^FNand^FD. -
Note
More than one
p. 372^XFcan appear in a format, and they can sit anywhere within the code. -
Note
The recalled format was saved as text strings, so it has to be formatted at print time. Using a stored format reduces transmission time, but the guide says no formatting time is saved.
pp. 174, 372 -
Note
In the guide's own example a recall is a short format of its own:
pp. 57, 174^XFfollowed by the^FNand^FDpairs that provide the data. A longer example, Exercise 6 on page 57, pairs a stored form layout with a recall that fills five numbered fields. -
Note
The tutorial says the
p. 57^ISand^ILpair, which saves and loads a whole-label image, processes faster in the printer than^DFwith^XF.
Where the guide contradicts itself (3)
-
Guide issue
The
pp. 174, 372^XFentry allows the name of the stored image to be 1 to 8 alphanumeric characters, while the^DFentry allows a stored name of 1 to 16 characters plus an extension of 1 to 3. The guide does not say which limit applies to a name that is stored and then recalled. -
Guide issue
The
pp. 57, 372^XFentry gives the extension as the fixed value .ZPL. The tutorial's Exercise 6 stores and recalls its format under a name ending in .GRF with^DFand^XF. -
Guide issue
The x parameter is titled 'extension l' in the printed entry, with the fixed value .ZPL; the guide gives no meaning for the trailing l, and the record treats it as a stray character.
p. 372
^XF example
^XA ^XFR:TAG.ZPL^FS ^FN1^FDWasher 6 mm^FS ^FN2^FD1800 pcs^FS ^XZ
Recalls the format stored as TAG.ZPL on drive R:, then supplies data for its numbered fields 1 and 2 with ^FN and ^FD. It assumes a format of that name was stored earlier with ^DF.
Guides that use ^XF
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 57, 174, 200, 204, 372.
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.