Stx U Label Format String Replacement Field - Datamax A-4310 Programmer's Manual

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

Advertisement

STX U
Label Format String Replacement Field
This command places new label data into format fields to build a label. Two options are available:
Exact Length and Truncated Length.
To easily keep track of fields, place all of the fields to be updated with the command at the beginning
of the label format. A maximum of 99 format fields can be updated. Fields are numbered
consecutively 01 to 99 in the order received.
Exact Length Replacement Field Functions – The new data string must equal the original string
length and contain valid data. When the dynamic data is shorter than the length of the originally
defined data field, then field will be padded with blanks (or zero when the Format Record header
specifies a numeric bar code).
Syntax:
Where:
Exact Length Sample: <STX>L
The sample produces three labels. The first is formatted with the commands between <STX>L and
E. The next two labels print with the replacement data contained in the <STX>U commands (see
<STX>E and <STX>G). The bar code is the same length: 3 digits and nine spaces.
Truncated Length Replacement Field Functions – A variant of the <STX>U command includes the
truncate option 'T', where dynamic data shorter than the originally defined field length will not be
padded and the original maximum field length is maintained for subsequent replacements.
Syntax:
Where:
28
System-Level Command Functions
<STX>Unnss...s<CR>
- Is the format field number, 2 digits.
nn
- Is the new string data, followed by a <CR>
ss...s
1A1100001000100DATA FIELD 1<CR>
161100001100110data field 2<CR>
161100001200120data field 3<CR>
Q0001
E
<STX>U01123<CR>
<STX>U02New data F2<CR>
<STX>E0002
<STX>G
<STX>UTnnss...s<CR>
- Is the format field number, 2 digits.
nn
- Truncate option
T
- Is the new string data, followed by a <CR>
ss...s
Class Series Programmer's Manual

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents