This article introduces the setting method of "Other Commands", which is suitable for finding the corresponding configuration barcode and completing parameter adjustment.
Applicable to:
E900
Questions
- How to set other commands?
- Where are the other command configuration barcodes?
- How to adjust other command parameters?
Resolution / Answer
This article introduces the purpose and configuration method of "other commands". 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.
__FB blocks output characters__
Command format = FBnnxxyy..zz (nn: the number of the same characters to prevent output; xxyy..zz: the hexadecimal value of the characters to prevent output) Starting from the right side of the current cursor, block output characters (up to 15 different characters), the movement of the cursor is determined by other commands.
__FB Example: Delete characters such as spaces in barcode information__
The above barcode information contains spaces, underlines and "*". It is required to delete these three characters before sending the remaining data.
Command string: __FB03205F2AF10D__
FB: "Block output characters" command
03: Block 3 characters
20: Hexadecimal value of space
5F: Hexadecimal value of "_"
2A: Hexadecimal value of "*"
F1: "Send all characters" command
0D: Hexadecimal value of carriage return
Output result:__12345678<CR>__
__E4 replacement character__
Command format = E4nnxx1xx2yy1yy2 zz1zz2 (nn: number of characters to be replaced + number of characters to replace; xx1: hexadecimal value of the character to be replaced, xx2: hexadecimal value of the character to be replaced, and so on)
Replaces output characters (up to 15 characters) starting to the right of the current cursor without moving the cursor.
__E4 Example: Replace zeros in barcode information with carriage returns__
When the barcode contains characters that are not required by the host application, you can use the E4 command to replace the unnecessary characters with other characters. This example requires replacing zeros in the barcode with carriage returns.
Command string: E402300DF10D
E4: "Replace Character" command
02: The number of replaced characters + the number of replacement characters (0 is replaced by CR, 2 characters in total)
30: Hexadecimal value of "0"
0D: Hexadecimal value of carriage return (replace 0 with carriage return) F1: "Send all characters" command
0D: Hexadecimal value of carriage return
Output result: __123__
__456__
__78__
__AB<CR>__
__BA replaces a string multiple times__
Command format = BAnnNN1SS1NN2SS2 (nn: the number of replacements, nn=00 means replacing all SS1; NN1: the length of the replaced string; SS1: the hexadecimal value of the replaced string; NN2: the length of the new string; SS2: the hexadecimal value of the new string)
Starting from the right side of the current cursor, the replacement process does not move the cursor. The original information is only traversed once, without repeated search and replacement; if the number of string occurrences is insufficient, no error will be reported. NN1>0, NN2>=0.
__BA Example: Replace __ __23 in the barcode information with __ __XYZ__
Command string: __BA020232330358595AF100__
Scan the following barcode to configure command string: __BA020232330358595AF100__.
BA: "Replace string multiple times" command
02: Number of replacements
02: String "23" length
3233: Hexadecimal value of string "23"
03: The length of the string "XYZ" (if set to 00, no string will be added afterwards)
58595A: Hexadecimal value of string "XYZ"
F1: "Send all characters" command
00: Hexadecimal value of the null character
Output result: __1XYZ4AbcXYZR0123U__
__EF inter-character delay, used for__ __USB keyboard communication mode__
Command format =EFnnnn (nnnn means the delay length is nnnn times 5ms, expressed in decimal)
Insert a delay between characters, the delay length is a multiple of 5ms, up to 49995ms. Up to 255 delays can be inserted.
__EF Example: Insert delay__ after the __5th and 7th characters of the barcode
Command string: F20500EF0200F20200EF0200F100
Scan the following barcode to configure command string: F20500EF0200F20200EF0200F100.
F2: "Send several characters" command
05: The length of characters sent (output starting from the current cursor position)
00: NUL hexadecimal
EF: "Delay" command
0200: The delay length is 200 times 5ms, that is, 1s
F2: "Send several characters" command
02: The length of characters sent (output starts from the right side of the current cursor)
00: NUL hexadecimal
EF: "Delay" command
0200: The delay length is 200 times 5ms, that is, 1s
Output result: __12345{1s delay}67{1s delay}890ABCDEFGHIJ__
__B5 insert button for__ __USB keyboard communication mode__
Command format: B5nnssxx (nn: the total number of inserted keys (excluding control keys); ss: the control key serial number, which is a hexadecimal number; xx: represents the key serial number, which is a hexadecimal number)
The key numbers refer to the 104-key and 105-key keyboard layout in Appendix - Keyboard Key Numbers. The control key numbers are shown in the table below:
Control keys Serial number
No control keys 00
Left Shift 01
Right Shift 02
Left Alt 04
Right Alt 08
Left Control 10
Right Control 20
__B5 Example: US English__ __104 keyboard layout mode, insert__ __aBc__ at the beginning of the barcode
Command string characters: __B503001F01320030F100__
Scan the following barcode to configure command string characters: __B503001F01320030F100__.
B5: "Insert Key" command
03: Number of inserted keys
00: No control keys
1F: "a" button number
01: Left Shift control key number
32: "b" button number
00: No control keys
30: "c" button number
F1: Send all characters
00: Hexadecimal number of Nul
Output result: __aBc12345678__
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.