User Manual
15–50 ASCII Host Commands
Publication 2755-833
SR - Set Search and Replace Rule for Host Message Fields
Command Format: SRnnmmsccbbffapppllstringllstring
Function: Set parameters for the host message replacement
rules.
Parameters: nnmmsccbbffapppllstringllstring
Command
Parameters
Parameter Function Valid Values
nn
The number of the Search and
Replace Rule
01 to 16
mm The host message field number 00=All or 01 to 16
s Source
1=Scanner A
2=Scanner B
3=A|B
4=Aux
cc Symbology
01=Code 39
02=Interleaved 2-of-5
03=Codabar
04=UPC–A
05=UPC–E
06=EAN–8
07=EAN–13
08=Code 128
09=Pharma–Code
16=Any
bb Symbol number 00=All or 01 to 16
ff Minimum field length 00 to 64
a Alignment
0=Right
1=Left
ppp Fill character
000 to 255
(000= No alignment)
ll Length of search pattern string 00=Empty or 01 to 24
string Search pattern string up to 24 characters
ll Length of replace pattern string 00=Empty or 01 to 24
String Replace pattern string up to 24 characters
Response: = rr <end>
rr = response code
<end> = end of message control code