Time – CognitiveTPG DLXi User Manual
Page 115

S T A N D A R D P R I N T E R C O M M A N D S
TIME
Function
Sets or gets data from the real-time clock in printers
so equipped. Data derived from the clock resides in
the system variable TIME.
Explicit Form
TIME action
Implicit Form
TE action
action
Clock operation. Allowable operations
are SET, GET, and ADD, used as
follows:
TIME SET
TE SET
Sets the clock to the numeric time
value following the command. Specify
the new clock time in the format
YYYY MM DD hh mm ss, where:
YYYY
Desired year. Allowable
values are 1970 to 2069.
MM
Desired month. Allowable
values are 01 to 12.
DD
Desired day within the
month. Allowable values
are 01 to 31, as appropriate
for the specified month (for
example, a DD value of 31
is valid for month 07 but
not month 06).
hh
Desired hour. Allowable
values are 00 to 23.
mm
Desired minute. Allowable
values are 00 to 59.
ss
Desired second. Allowable
values are 00 to 59.
Parameters
TIME GET
TE GET
Returns the current clock time,
placing it in a system variable called
TIME
.
106
Revision F, January 2012, CognitiveTPG