Datamax E4203 manual STX S Recall Global Data And Place In Field, STX T Print Time and Date

Models: E4203

1 176
Download 176 pages 49.58 Kb
Page 65
Image 65

Extended System Commands

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 a vailable 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

Print

String

Print

Characters

Values

Markers

Values

A

Day of the week (Mon = 1, Sun = 7)

VW

Hour in the 24 hour format

BCD

Day of the week name

XY

Hour in the 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.

E-Class DPL Programmer’s Manual

55

Page 65
Image 65
Datamax E4203 manual STX S Recall Global Data And Place In Field, STX T Print Time and Date, String Print