Enter Setup
235
** Exit Setup
BA Replace a string with another
Syntax
=
BAnnNN
1
SS
1
NN
2
SS
2
nn: The count of replacements to be made, if nn=00 or nn>=the number of occurrences of a string to be replaced, then
replace all occurrences of that string.
NN
1
: The length of the string to be replaced, NN
1
>0.
SS
1
: The ASCII hex value of each character in the string to be replaced.
NN
2
: The length of replacement string, NN
2
>=0. To replace string “SS
1
” with NUL (i.e. deIete string “SS
1
”), you should set
NN
2
to 00 and leave out SS
2
.
SS
2
: The ASCII hex value of each character in the replacement string.
From the current cursor position, search forward for the occurrence of “SS
1
” string (of length “NN
1
”) and replace the string
with “SS
2
” string (of length “NN
2
”) in the output message until every “SS
1
” stringis replaced or the count of replacements
made reaches “nn” times, without moving the cursor.
BA Example: Replace “23”s with “ABC”s in barcode data
If the barcode has a string of characters that the host application does not want included, you can use the BA command to
replace the string with something else. In this example, you will replace the “23”s in the barcode above with “ABC”s.
Command string:
BA0002323303414243F100
BA is the “Replace a string with another” command
00 is the count of replacements to be made, 00 means to replace all occurrences of that string
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)
03 is the length of the replacement string
Содержание NLS-HR32 Series
Страница 1: ...NLS HR32 Hand held Barcode Scanner User Guide...
Страница 3: ...Revision History Version Description Date V1 0 0 Initial release December 4 2016...
Страница 21: ...Dimensions of the Scanner unit mm 5...
Страница 23: ...Dimensions of the Cradle unit mm 7...
Страница 83: ...Enter Setup 67 Exit Setup Norway Poland Portugal Romania Russia Slovakia Spain Sweden...
Страница 84: ...Enter Setup Exit Setup 68 Switzerland German Turkey_F Turkey_Q UK Japan...
Страница 97: ...Enter Setup 81 Exit Setup 8ms 9ms 10ms...
Страница 134: ...Enter Setup Exit Setup 118 40ms 45ms 50ms 55ms 60ms 65ms 70ms 75ms...
Страница 136: ...Enter Setup Exit Setup 120 500ms 600ms 700ms 800ms 900ms...
Страница 167: ...Enter Setup 151 Exit Setup Set ISBN Format ISBN 10 ISBN 13...
Страница 193: ...Enter Setup 177 Exit Setup PDF417 ECI Output Disable PDF417 ECI Output Enable PDF417 ECI Output...
Страница 200: ...Enter Setup Exit Setup 184 QR ECI Output Disable QR ECI Output Enable QR ECI Output...
Страница 206: ...Enter Setup Exit Setup 190 Set the Number of Barcodes 1 2 3 4 5 6 7 8...
Страница 266: ...Enter Setup Exit Setup 250 Modify Micro PDF417 Code ID Modify Micro QR Code ID Modify Code One Code ID...
Страница 270: ...Enter Setup Exit Setup 254 Disable Data Packing Enable Data Packing Format 1 Enable Data Packing Format 2...
Страница 276: ...Appendix Digit Barcodes 0 9 0 1 2 3 4 5...
Страница 277: ...6 7 8 9...
Страница 278: ...A F A B C D E F...
Страница 299: ...Unicode Key Maps 104 Key U S Style Keyboard 105 Key European Style Keyboard...