Plain English

Configures the date/time format for calendar printing. The format string uses placeholders like YY (year), MM (month), DD (day), hh (hour), mm (minute). The printer substitutes these with its internal clock values at print time.

When to use

When you need the printer to stamp labels with the current date and time — common for production dates, expiry dates, and lot tracking.

Syntax

ESC+WTformat

Parameters

ParameterDescription
formatDate/time format string using YY, MM, DD, hh, mm, ss placeholders

Example

ESC+A
ESC+H0050
ESC+V0050
ESC+WTDD/MM/YY hh:mm
ESC+H0050
ESC+V0100
ESC+WA
ESC+Q1
ESC+Z

Set up a date/time format and print it

Try it in the playground View all SBPL commands