104
ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual
Chapter —Commands
TS – Set Real Time Clock
Description
This command is used to set the time and date in the printer’s
optional real-time clock circuit.
Syntax
TSp
1
,p
2
,p
3
,p
4
,p
5
,p
6
Parameters
p
1
Month (01–12)
p
2
Day (01–31)
p
3
Year, two last digits (for example 04 for the year 2004)
p
4
Hour in 24 hour format (00–23)
p
5
Minutes (00-59)
p
6
Seconds (00-59)
Remarks
This command works only if the printer is fitted with an optional
real-time clock circuit (RTC).
Example
TS01,15,04,12,45,23
↵
:Sets the date to JAN 15, 2004
and the time to 12:45:23 p.m.