^FN Advanced — Recalling Formats with Data

ZPL course · ZPL FAQ

Command reference: Labelary ZPL introduction.

Below, commands are bold, parameters are colored, field data stays plain.

^FN Advanced — Recalling Formats with Data

Goal

Recall stored formats with data (^FN advanced).

Description

One stored format, many recalls: ^FN1 and ^FN2 below are filled with different data on every ^XF call. Pairs with lessons 25, 47 and 48.

Example

^XA
^XFR:DEMO.ZPL
^FN1^FDRecall one^FS
^FN2^FDRecall two^FS
^XZ

Rendered ^FN advanced label

Result

Same shape as lesson 25 with a second numbered field; the preview stays empty until DEMO.ZPL exists in memory.

Article author: Arthur Isaev