Label Formatting Command Functions
126
Class Series Programmer’s Manual
STX S
Recall Global Data and Place in Field
This command, when in the format record data field, places data from a specified global register into
the data field. See the G command.
Syntax:
<STX>Sn
Where:
n
-
Specifies the global register (A
−
P) that contains the data to
place into the data field.
Sample:
<STX>L<CR>
121100000000000DMX<CR>
G<CR>
1A2210001000000<STX>SA<CR>
E<CR>
The sample places the string “DMX” into the next available global register (A), and then line 4 is
effectively replaced by the data from global register A.
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 printer’s internal clock. In addition, the
<STX>T
may be preceded by data to be
printed/encoded, and/or the string may now be terminated by an
<STX>
command and then followed
by more data terminated by a
<CR>
. The string characters/markers are not printed; instead, the
printed label will show a corresponding print value.
Note:
When using substitution, you must ensure the converted string produces valid characters for the
selected bar code / font.
Syntax:
<STX>Tstring<CR>
Where:
string
- Is any set of characters, A - Z and a – h. See the table below.
String
Characters
Values
String
Markers
Values
A
Day of the week (Mon = 1, Sun = 7)
VW
Hour in 24 hour format
BCD
Day of the week name
XY
Hour in 12 hour format
EF
Month number
Za
Minutes
GH...O
Month name
gh
Seconds
PQ
Day
bc
AM or PM
RSTU
Year
def
Julian date
Table 6-3: Time and Date String Characters
Note:
The sample listings below assume a current printer date of December 21, 1998.
Summary of Contents for Ex2
Page 2: ......
Page 4: ......
Page 15: ...xi Appendix V 281 Bar Code Symbology Information Resources 281 Glossary 283 ...
Page 16: ...xii ...
Page 30: ...Immediate Command Functions 14 Class Series Programmer s Manual ...
Page 52: ...System Level Command Functions 36 Class Series Programmer s Manual ...
Page 144: ...Label Formatting Command Functions 128 Class Series Programmer s Manual ...
Page 162: ...Generating Label Formats 146 Class Series Programmer s Manual ...
Page 182: ...Appendix D Reset Codes 166 Class Series Programmer s Manual ...
Page 192: ...Appendix E Single Byte Symbol Sets 176 Class Series Programmer s Manual ...
Page 236: ...Appendix G Barcode Details 220 Class Series Programmer s Manual ...
Page 242: ...Appendix I Symbol Sets and Character Maps 226 Class Series Programmer s Manual ...
Page 272: ...Appendix P UPC A and EAN 13 256 Class Series Programmer s Manual ...
Page 282: ...Appendix R Plug and Play IDs 266 Class Series Programmer s Manual ...
Page 296: ...Appendix U WiFi Region Country Codes 280 Class Series Programmer s Manual ...
Page 302: ...Glossary 286 Class Series Programmer s Manual ...