What ^ST does
^ST programs the printer's Real-Time Clock so that ^FC clock fields print the correct date and time. It requires an RTC-equipped printer and is usually sent once at setup.
Syntax
^STmonth,day,year,hour,minute,second,fParameters
| Parameter | Description | Values | Default |
|---|---|---|---|
month,day,year | Date to set | — | — |
hour,minute,second | Time to set (24-hour) | — | — |
f | Time format flag | — | — |
Example
^XA
^ST08,13,2026,14,30,00,1
^XZPaste this into the free ZPL viewer to see it render, or convert it to PDF.
Notes & tips
- Needs a Real-Time Clock module.
- Print the clock value with ^FC fields.
Related commands
See the full ZPL command reference for all 92 documented commands.
