ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual 105
Chapter 7—Commands
TT – Define Time Format
Description is command is used to define the time format when printing.
Syntax TTp
1
[/p
2
/p
3
][+]
Parameters p
1
–p
3
These parameters describe the format of the time display. At least one parameter
must be supplied. Each parameter can be any of the acceptable values listed
below:
h Hours displayed as 2 digits, for example 12
m Minutes displayed as 2 digits, for example 15
s Seconds displayed as 2 digits, for example 00
/ Represents an optional separator character, which can be any character
in the range between ASCII 32 dec. and ASCII 63 dec. The separator is
printed between the results of each of the supplied parameters.
+ Optionally selects 12-hour mode, where the time will be appended with
an “AM” or “PM” indicator. If there is no trailing + sign in command, 24-
hour mode will be selected.
Default: h:m:s
Remarks is command works only if the printer is fitted with an optional
real-time clock circuit (RTC).
Example If the current time is 1:25:00 PM:
TTh:m:s↵ :Prints as 13:25:00
TTh:m:s+↵ :Prints as 01:25:00 PM
TTh,m↵ :Prints as 13,25
TTh+↵ :Prints as 01 PM