This article introduces the setting method of "Search Command", which is suitable for finding the corresponding configuration barcode and completing parameter adjustment.
Applicable to:
E900
Questions
- How to set search command?
- Where is the search command configuration barcode?
- How to adjust the search command parameters?
Resolution / Answer
This article introduces the purpose and configuration method of "search command". Usually refer to this article when you need to change the default behavior of the device, adapt to the business system, or find the corresponding configuration barcode.
__F8 Search for characters to the right__
Command format = F8xx (xx: hexadecimal value of the character to be found)
Search for the character xx to the right starting from the current cursor position in the input information, and move the cursor to the left of the character.
__F8 Example: Send a certain character in the barcode information and the subsequent data__
Search for the letter "D" in the above barcode information, send the letter "D" and subsequent data, and finally send a carriage return. Command string: __F844F10D__
Scan the following barcode to configure search for the letter "D" in the above barcode information, send the letter "D" and the subsequent data, and finally send a carriage return. Command string: __F844F10D__.
F8: "Search for characters right" command
44: Hexadecimal value of "D"
F1: "Send all characters" command
0D: Hexadecimal value of carriage return
Output result: __DEFGHIJ<CR>__
__F9 Search characters to the left__
Command format = F9xx (xx: hexadecimal value of the character to be found)
Search for the character xx from the current cursor position to the left in the input information, and move the cursor to the left of the character.
__B0 Search string to the right__
Command format = B0nnnnS (nnnn: 0000-9999, the length of the string to be found; S: hexadecimal values of all characters in the string)
Search the input information for the string S from the current cursor position to the right, and move the cursor to the left of the string. For example, B0000454657374 searches right for the first occurrence of the string "Test".
__B0 Example: Send a certain string in the barcode information and subsequent data__
Search for "FGH" in the above barcode information, send "FGH" and subsequent data, and finally send a carriage return.
Command string: __B00003464748F10D__
B0: "Search string forward" command
0003: Length of string (3 characters)
46: Hexadecimal value of "F"
47: Hexadecimal value of "G"
48: Hexadecimal value of "H"
F1: "Send all characters" command
0D: Hexadecimal value of carriage return
Output result: __FGHIJ<CR>__
__B1 Search string to the left__
Command format = B1nnnnS (nnnn: 0000-9999, the length of the string to be found; S: hexadecimal values of all characters in the string)
Search the input information for the string S from the current cursor position to the left, and move the cursor to the left of the string. For example, B1000454657374 searches left for the first occurrence of the string "Test".
__E6 Search right for unmatched characters__
Command format = E6xx (xx: hexadecimal value of the unmatched character to be found)
Search the input information from the current cursor position to the right for the first character that does not match xx, and move the cursor to the left of the character.
__E6 Example: Delete leading zeros in barcode information__
The above barcode information contains leading zeros, and it is required to send the barcode data after the leading zeros. Search to the right for the first non-zero character, send that character and subsequent data, and finally send a carriage return.
Command string: __E630F10D__
E6: "Search right for unmatched characters" command
30: Hexadecimal value of "0"
F1: "Send all characters" command
0D: Hexadecimal value of carriage return
Output result: __123abc<CR>__
__E7 Search left for unmatched characters__
Command format = E7xx (xx: hexadecimal value of the unmatched character to be found)
Search the input information from the current cursor position to the left for the first character that does not match xx, and move the cursor to the left of the character.
If this does not resolve the issue, please reset the barcode scanner or contact us. Click here to find your barcode scanner model and perform the reset.