Enter Setup
** Exit Setup
186
32 is the hex value for 2 (character in the string to be replaced)
33 is the hex value for 3 (character in the string to be replaced)
03 is the length of the replacement string
41 is the hex value for A (character in the replacement string)
42 is the hex value for B (character in the replacement string)
43 is the hex value for C (character in the replacement string)
F1 is the “Send all characters” command
00 is the hex value for a NUL
The data is output as:
cd1ABCabcABCbc12abABC2
BA Example: Remove only the first occurrence of “23”s in barcode data
If the barcode has a string of characters that the host application wants removed, you can use the BA command to replace
the string with NUL. In this example, you will remove the first occurrence of “23” in the barcode above.
Command string:
BA0102323300F100
BA is the “Replace a string with another” command
01 is the count of replacements to be made
02 is the length of the string to be replaced
32 is the hex value for 2 (character in the string to be replaced)
33 is the hex value for 3 (character in the string to be replaced)
00 is the length of the replacement string, 00 means to replace the string to be replaced with NUL
F1 is the “Send all characters” command
00 is the hex value for a NUL
The data is output as:
cd1abc23bc12ab232
Summary of Contents for HR42 Halibut
Page 1: ...HR42 Halibut Handheld Barcode Scanner User Guide...
Page 3: ...Revision History Version Description Date V1 0 0 Initial release May 27 2017...
Page 14: ......
Page 23: ...9 Dimensions Left View Front View...
Page 24: ...10 Top View...
Page 32: ...Enter Setup Exit Setup 18 Illumination On Off Aiming On Off Always On...
Page 172: ...Enter Setup Exit Setup 158 6 Scan the Exit Setup barcode...
Page 198: ...Enter Setup Exit Setup 184...
Page 201: ...187 Appendix Digit Barcodes 0 9 0 1 2 3 4 5 6 7 8 9...
Page 202: ...188 A F A B C D E F...