System-Level Command Functions
28
Class Series Programmer’s Manual
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:
<STX>Unnss…s<CR>
Where:
nn
- Is the format field number, 2 digits.
ss…s
- Is the new string data, followed by a
<CR>
Exact Length Sample:
<STX>L
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
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:
<STX>UTnnss…s<CR>
Where:
nn
- Is the format field number, 2 digits.
T
- Truncate option
ss…s
- Is the new string data, followed by a
<CR>
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 ...