TD – Define Date Format
This command is used to define the date format when printing.
Description
Syntax
TDp
Parameters
p
–p
1
Default:
This command works only if the printer is fitted with an optional
Remarks
real-time clock circuit (RTC).
If the current date is January 15, 2004:
Examples
TDy2/me/dd↵
TDdd-me-y4↵
TDdd,mn,y4↵
TDy4-mn-dd↵
TDme/dd/y4↵
ESim v5.12 for EasyCoder PD4—Programmer's Reference Manual
[/p
/p
]
1
2
3
The parameters describe the format of the date display. At least one parameter
3
must be supplied. Each parameter can be any of the acceptable values listed
below:
y2
Year displayed as 2 digits, for example 04
y4
Year displayed as 4 digits, for example 2004
me Month displayed as a 3-letter English abbreviation, for example JAN,
FEB, MAR, APR, MAY, etc.
mn
Month displayed as 2 digits, for example 01
dd
Day displayed as 2 digits, for example 15
/
R epresents a n o ptional s eparator c haracter, w hich c an b e a ny c haracter
in the range between ASCII 32 dec. and ASCII 63 dec. The separator is
printed between the results of each of the supplied parameters.
me/dd/y4
Chapter —Commands
:Prints as 04/JAN/15
:Prints as 15-JAN-2004
:Prints as 15,01,2004
:Prints as 2004-01-15
:Prints as JAN/15/2004
10