Newland NLS-HR52 User Manual page 252

Hand-held barcode scanner
Table of Contents

Advertisement

Enter Setup
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: 1ABC4AbcABCR01ABCU
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: 14Abc23R0123U
** Exit Setup
236

Advertisement

Table of Contents
loading

Table of Contents