
211
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 NLS-HR42
Page 1: ...NLS HR42 2D Handheld Barcode Scanner User Guide...
Page 23: ...9 Dimensions Left View Front View...
Page 24: ...10 Top View...
Page 48: ...34...
Page 65: ...51 KBWCTY27 UK KBWCTY28 Japan...
Page 79: ...65 KBWPOR8 9ms KBWPOR9 10ms...
Page 115: ...101 FEBSDT70 70ms FEBSDT75 75ms...
Page 116: ...102 Transmit Delay per 12 Characters FEBMEN0 Disable FEBMEN1 Enable...
Page 118: ...104 FEBMDT6 800ms FEBMDT7 900ms...
Page 184: ...170 DMCREC1 Enable Rectangular Barcode DMCREC0 Disable Rectangular Barcode...
Page 242: ...228 Appendix Digit Barcodes 0 9 DIGIT0 0 DIGIT1 1 DIGIT2 2 DIGIT3 3 DIGIT4 4 DIGIT5 5...
Page 243: ...229 DIGIT6 6 DIGIT7 7 DIGIT8 8 DIGIT9 9...
Page 244: ...230 A F DIGITA A DIGITB B DIGITC C DIGITD D DIGITE E DIGITF F...
Page 254: ...240 Terminating Character Suffix Enabled CR 0x0D Max 2 characters...