Zebra Technologies 14245L-003 Pet Fence User Manual


 
145
EPL Commands
TD
12/16/13 EPL Programming Guide 14245L-003 Rev. A
TD
Date Recall & Format Layout
Description Use this command to define the date format and print date data. The TD
variable is inserted within a Text or Bar Code command's DATA parameter to print the date.
The TD variable supports offsetting day by up to 253 days (see examples below for usage).
This command only works in printers equipped with the Real Time Clock time and date
option.
Power-Up Default Format - mn-dd-y4
Syntax TDp
1
[|p
2
|p
3]
Parameters This table identifies the parameters for this format:
Parameters Details
p
1
=
The parameters describe the format of the date display. At
lease one parameter must be supplied. Each parameter can be
any of the acceptable values listed below.
p
2
=
p
3
=
| = Separator character. Accepted Values: Any ASCII character value between 032
and 063. The separator character is printed between the
results of each of the supplied parameters.
Example • In this example, the current date is January 15, 2000.
TDy2/me/dd
: 00/JAN/15
TDdd-me-y4
: 15-JAN-2000
TDdd,mn,y4
: 15,01,2000
TDdd/mn/y2
: 15/09/00
A100,100,0,4,1,2,N,"Today is"TD
: Today is 15/09/00
A100,200,0,4,1,2,N,"Next Week-"TD+07
: Next Week-22/09/00
A100,300,0,4,1,2,N,"Next Month-"TD+30
: Next Month-15/10/00
A100,400,0,4,1,2,N,"Two Months-"TD+61
: Two Months-15/11/00
Value Description
y2 Year displayed as 2 digits (07)
y4 Year displayed as 4 digits (2007)
me Month displayed as 3 letters (JAN)
mn Month displayed as 2 digits (01)
dd Day displayed as 2 digits (15)