
Enter
Setup
139 *
* Exit Setup
E4 Replace characters
Syntax
=
E4nnxx
1
xx
2
yy
1
yy
2
…zz
1
zz
2
(nn: The total count of the number of characters (characters to be
replaced plus replacement characters; xx
1
: The characters to be replaced, xx
2
: The replacement
characters, continuing through zz
1
and zz
2
)
Replace up to 15 characters in the output message, without moving the cursor.
E4 Example: Replace zeros with CRs in barcode data
If the barcode has characters that the host application does not want included, you can use the E4
command to replace those characters with something else. In this example, you will replace the zeros in
the barcode above with carriage returns.
Command string:
E402300DF10D
E4 is the
“Replace characters” command
02 is the total count of characters to be replaced, plus the replacement characters (0 is replaced by CR,
so total characters=2)
30 is the hex value for 0
0D is the hex value for a CR (the character that will replace the 0)
F1 is the
“Send all characters” command
0D is the hex value for a CR
The data is output as:
1234
5678
ABC
<CR>
Содержание NLS-HR3290
Страница 1: ...NLS HR3290 Corded 2D Barcode Scanner User Guide...
Страница 20: ...Enter Setup Exit Setup 8 Dimensions unit mm Left View Front View...
Страница 21: ...Enter Setup 9 Exit Setup Top View...
Страница 58: ...Enter Setup Exit Setup 46 Beep Type Type 1 Type 3 Type 2 Beep Volume Loud Low Medium...
Страница 184: ...172 Appendix 6 Digit Barcodes 0 9 0 5 1 6 2 7 3 8 4 9...
Страница 185: ...173 A F A B C D E F...
Страница 189: ...177 Appendix 9 Code Pages List Numeric Barcode Needed Code Page 0 Windows 1252 Latin I 1 Windows 1251 Cyrillic...