Stx s recall global data and place in field, Stx t print time and date – Datamax-O'Neil Class Series Programmer’s Manual User Manual

Page 140

Advertising
background image

Label Formatting Command Functions






Class Series Programmer’s Manual

126

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

Print

Values

String

Markers

Print

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.

Advertising