Enter Setup
0D is the hex value for a CR (the character that will replace the 0) F1 is the "Send all characters" command
0D is the hex value for a CR
The data is output as: 123
BA Replace a string with another
Syntax=BAnnNN1SS1NN2SS2
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.
NN1: The length of the string to be replaced, NN1>0.
SS1: The ASCII hex value of each character in the string to be replaced.
NN2: The length of replacement string, NN2>=0. To replace string "SS1" with NUL (i.e. deIete string "SS1"), you should set NN2 to 00
and leave out SS2.
SS2: The ASCII hex value of each character in the replacement string.
From the current cursor position, search forward for the occurrence of "SS1" string (of length "NN1") and replace the string with
"SS2" string (of length "NN2") in the output message until every "SS1" stringis replaced or the count of replacements made reaches
"nn" times, without moving the cursor.
XYZ Replace "23"s with "XYZ"s in barcode data
Command string:BA020232330358595AF100
BA is the "Replace a string with another" command
02: Times for the replace
02: The length for string "23"
3233: The hex value for string 3233
03: The length for string "XYZ"
58595A: The hex value for string "XYZ"
F1: "Send all characters" command
00: The hex value for a NUL
Output: 1XYZ4AbcXYZR0123U
EF Insert a delay, used in USB keyboard mode.
**【Exit Setup】 200
456
78
AB
<CR>