Sign In
Products
ZPL ViewerBarcode GeneratorImage → ZPLZPL cheat sheetLabel DesignerTemplate Gallery
Developers
API QuickstartAPI ReferenceMCP ServerBulk GenerationWebhooksSDKs & ExamplesLimitsDirectPrint agent NewGitHub ActionVS Code extensionOn-Premise
Solutions
Logistics & ShippingE-CommerceERP & WMSManufacturingRetailHealthcare & LaboratoryAll solutions
Tools
ZPL Diagnostics HubZPL DebuggerSize & DPI AnalyzerDPI ConverterBarcode fit calculatorShipping Label AnalyzerFont InspectorOrientation DebuggerCalibration AssistantPrinter Compatibility CheckerBarcode Readability CheckerPrinter Language DetectorThermal Printer Test PackZPL ToolsEPL ToolsTSPL ToolsCPCL ToolsPrinter Language ConverterAll ToolsGuidesPricing
Language
EnglishTürkçeDeutsch
Home›ZPL Command Matrix›^FC

^FC — Field Clock

Sets the clock-indicator characters that print the Real-Time Clock's date and time inside a field.

Syntax^FCa,b,c
In Labelixa's previewDrawn in the preview

What it does

^FC has to appear in every field that prints a date or time. In the ^FD that follows, the indicator plus a command character is replaced at print time: %d day, %m month, %y / %Y year, %H hour (24 h), %I hour (12 h), %M minute, %S second, %p AM/PM, %A / %a weekday name, %B / %b month name, %j day of the year.

The secondary and third indicators print the clocks offset with ^SO. Without Real-Time Clock hardware ^FC is ignored and the characters print as plain text. Since firmware V60.13.0.10 ^FC also works together with ^SN.

In the preview

Labelixa's preview draws this command.

Example

^XA
^FO10,25^AD^FC%,{,#
^FDDate: %d/%m/%Y %H:%M^FS
^XZ

Prints the current day, month, four-digit year, hour and minute from the primary clock.

Parameters

ParameterDescriptionValuesDefault
aprimary clock indicatorASCII%
bsecondary clock indicator; must differ from a and cASCII—
cthird clock indicator; must differ from a and bASCII—

Source

Zebra ZPL II Programming Guide (P1134473-11EN Rev A), page 189. Zebra guide page →

^SL · ^SO · ^ST · ^KD · ^SN · ^FD

ZPL commands list and reference →

Try ZPL in the online viewer