^FC — Field Clock: real-time-clock delimiters

ZPL course · ZPL FAQ

Command reference: Labelary ZPL introduction.

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

^FC — Field Clock: real-time-clock delimiters

Goal

Set real-time-clock delimiters with ^FC.

Description

^FC declares the delimiter characters for real-time-clock tokens, so date and time fields expand on RTC-equipped printers. (It has nothing to do with colour — ZPL is monochrome.)

Example

^XA
^FC%,{,#
^FX Clock delimiters registered for RTC tokens.
^FO20,20^A0N,28,28^FDTokens expand on RTC printers^FS
^XZ

Rendered ^FC label

Result

Delimiters registered; tokens stay literal here and expand into dates on RTC printers.

Article author: Arthur Isaev

Banner image