STX T Print Time and Date
This command, using string characters and markers, allows time and date data to be
selected and retrieved from the internal clock. In addition, the <STX>T may be
preceded by data to be printed/encoded, and/or the string may be terminated by an
<STX> command followed by more data then <CR> terminated. The string
characters/markers are not printed; instead, the label will show the corresponding
print value.
Syntax
<STX>Tstring<CR>
Parameters
Where:
l
string - Is any set of characters, A - Z and a – h; see the table below.
String Characters Print Values String Markers Print Values
A
Week Day (Mon = 1,
Sun = 7)
VW
24-hour time
format
BCD Day Name XY
12-hour time
format
EF Month Number Za Minutes
GH...O Month Name gh Seconds
PQ Day bc AM or PM
RSTU Year def Julian Date
Sample 1
Assume the printer date is set to December 19, 2021.
<STX>L<CR>
121100001000100<STX>TBCD GHI PQ, TU<CR>
E<CR>
Sample 1 prints SUN DEC 19, 21.
Sample 2
Assume the printer date is set to December 19, 2021.
<STX>L<CR>
191100100100010<STX>TEF/PQ<CR>
E<CR>
Sample 2 prints 12/19.
153
DPLCommand Reference