Zebra Technologies 14245L-003 Pet Fence User Manual


 
147
EPL Commands
TT
12/16/13 EPL Programming Guide 14245L-003 Rev. A
TT
Time Recall & Format Layout
Description Use this command to define the time format and print time data. The TT
variable is inserted within a Text or Bar Code command's DATA parameter to print the time.
This command works only in printers equipped with the Real Time Clock (RTC) time and date
option.
Syntax TTp1[|p2|p3][+]
Parameters This table identifies the parameters for this format:
Parameters Details
p
1
, p
2
, p
3
= h, m, or s
These parameters describe the format of the time display.
At lease one parameter must be supplied.
Each parameter can be any of the values h, m, or s and are
described below.
h = Hours displayed as 2 digits (e.g. 01)
m = Minutes displayed as 2 digits (e.g. 15)
s = Seconds displayed as 2 digits (e.g. 00)
Default Value: h:m:s (power-up default format)
+ = Enable 12 Hour
clock format
Appending a + to the end of the command string selects 12
hour clock mode. The times will display with an “AM” or
“PM” indicator. Default (no +) = 24 hour clock mode
| = Separator character
The separator may be any ASCII character value between 032
and 063. The separator character is printed between the
results of each of the supplied parameters.
Example • If the current time is 1:25 p.m.:
TTh:m:s+
: 01:25:00PM
TTh,m
: 13,25
TTh+
: 01 PM
When printing the following:
N
TTh:m:s+
A100,500,0,4,1,2,N,"Current Time: "TT
A100,600,0,4,1,2,N,"+ 1Hr
"TT+60
A100,700,0,4,1,2,N,"+ 12hrs
: "TT+720
P1
the result will be similar to this:
Current Time : 01:25:35PM
+1Hr : 02:25:35PM
+12Hrs : 01:25:35PM