Stx S Recall Global Data And Place In Field; Stx T Print Time And Date - Datamax A-4310 Programmer's Manual

Class series
Hide thumbs Also See for A-4310:
Table of Contents

Advertisement

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:
Where:
Sample:
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:
Where:
String
Characters
Day of the week (Mon = 1, Sun = 7)
A
BCD
EF
GH...O
PQ
RSTU
Note:
The sample listings below assume a current printer date of December 21, 1998.
126
Label Formatting Command Functions
<STX>Sn
Specifies the global register (A − P) that contains the data to
-
n
place into the data field.
<STX>L<CR>
121100000000000DMX<CR>
G<CR>
1A2210001000000<STX>SA<CR>
E<CR>
<STX>Tstring<CR>
string -
Is any set of characters, A - Z and a – h. See the table below.
Print
Values
Day of the week name
Month number
Month name
Day
Year
Table 6-3: Time and Date String Characters
String
Markers
Hour in 24 hour format
VW
Hour in 12 hour format
XY
Za
gh
AM or PM
bc
Julian date
def
Class Series Programmer's Manual
Print
Values
Minutes
Seconds

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents