Newland FM530 User Manual page 126

Ivd scanners
Table of Contents

Advertisement

Enter Setup
BA Replace a string with another
Syntax=BAnnNFM530 PROSS
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.
NFM530 PRO: The length of the string to be replaced, NFM530 PRO>0.
SS
: The ASCII hex value of each character in the string to be replaced.
1
NN
: The length of replacement string, NN
2
NN
to 00 and leave out SS
2
SS
: The ASCII hex value of each character in the replacement string.
2
From the current cursor position, search forward for the occurrence of "SS
the string with "SS
" string (of length "NN
2
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
** Exit Setup
NN
SS
1
2
2
>=0. To replace string "SS
2
.
2
") in the output message until every "SS
2
" with NUL (i.e. deIete string "SS
1
" string (of length "NFM530 PRO") and replace
1
" stringis replaced or the count of
1
"), you should set
1
116

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nls-fm530 seriesNls-fm530Nls-fm530 pro

Table of Contents