214
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 NLS-BS80
Page 1: ...NLS BS80 Pocket Bluetooth Barcode Scanner User Guide...
Page 16: ......
Page 46: ...30 Romania Russia Slovakia Spain Sweden Switzerland Turkey_F Turkey_Q UK Japan...
Page 52: ...36 6ms 7ms 8ms 9ms 10ms 11ms 12ms 13ms 14ms 15ms...
Page 54: ...38 Step 6 Wait for the Firmware upgraded window to pop up and click OK to exit the program...
Page 243: ...227 Digit Barcodes 1D Scanner 0 9 0 1 2 3 4 5 6 7 8 9...
Page 244: ...228 A F A B C D E F...
Page 245: ...229 Digit Barcodes 2D Scanner 0 9 0 5 1 6 2 7 3 8 4 9...
Page 246: ...230 A F A B C D E F...
Page 247: ...231 Digit Barcodes 0 9 0 5 1 6 2 7 3 8 4 9...
Page 248: ...232 A F A B C D E F...
Page 251: ...235 Save Cancel Barcodes Save Cancel Delete the Last Digit Delete All Digits...