
** Enter Setup
Exit Setup
156
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>
Summary of Contents for HR11+ Aringa
Page 1: ...HR11 Aringa 1D Handheld Barcode Scanner User Guide...
Page 4: ......
Page 22: ...10 Dimensions unit mm Side View Front View Top View...
Page 49: ...Enter Setup 37 Exit Setup Good Read Beep Duration Medium 80ms Short 40ms Long 120ms...
Page 189: ...177 Unicode Key Maps 104 Key U S Style Keyboard...