Label Formatting Command Functions
Class Series 2 Programmer’s Manual
143
Special Label Formatting Command Functions
Two Special Label Formatting Commands, the
<STX>S
and the
<STX>T
, are entered directly
into the data field of label format records. (Do not confuse them with System-Level
Commands because the same control character is used.) If alternate control codes are
enabled the
<STX>
becomes “
~
” (hexadecimal
0x7E
); see Control Code Command Functions.
Label Formatting Character
Command Description
<STX>D
Print adjusted date
<STX>S
Recall global data and place in field
<STX>T
Print time and date
Table 6-2: Special Label Formatting Commands
STX D
Print adjusted date
This command prints the adjusted date generated by the ‘t’ label formatting command.
Using string characters, allows the adjusted date data to be selected and printed. In
addition, the <STX>D 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 are not printed; instead, the label will show the
corresponding print value.
Syntax:
<STX>Dstring<CR>
Where:
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 printer date is set to January 01, 2013
<STX>L
tD0005
121100001000100 Expiration Date:<STX>D GHI PQ, RSTU
E
Prints: Expiration Date:JAN 06, 2013
Summary of Contents for A-Class
Page 2: ......
Page 3: ......
Page 5: ......
Page 6: ......
Page 22: ...Overview 8 Class Series 2 Programmer s Manual ...
Page 30: ...Immediate Command Functions 16 Class Series 2 Programmer s Manual ...
Page 138: ...Extended System Level Command Functions 124 Class Series 2 Programmer s Manual ...
Page 160: ...Label Formatting Command Functions 146 Class Series 2 Programmer s Manual ...
Page 180: ...Generating Label Formats 166 Class Series 2 Programmer s Manual ...
Page 192: ...Appendix B Sample Programs 178 Class Series 2 Programmer s Manual ...
Page 200: ...Appendix D Reset Codes 186 Class Series 2 Programmer s Manual ...
Page 212: ...Appendix E Single Byte Symbol Sets 198 Class Series 2 Programmer s Manual ...
Page 264: ...Appendix G Bar Code Details 250 Class Series 2 Programmer s Manual ...
Page 308: ...Appendix Q Plug and Play IDs 294 Class Series 2 Programmer s Manual ...
Page 312: ...Appendix R Line Mode 298 Class Series 2 Programmer s Manual ...
Page 324: ...Appendix T WiFi Region Country Codes 310 Class Series 2 Programmer s Manual ...
Page 334: ......