Unitech Electronics Co. Ltd. MS926BT 用户手册

下载
页码 139
 
- 97 - 
MS926 User’s Manual 
 
 
 
 
 
F2 Example: Send a number of characters 
 
Send the first 10 characters from the bar code above, followed by a 
carriage return. Command string:F2100D 
F2 is the “Send a number of characters” command 
10 is the number of characters to send 
0D is the hex value for a CR 
The data is output as: 1234567890 
 
F2 and F1 Example: Split characters into 2 lines 
Send the first 10 characters from the bar code above, followed by a carriage 
return, followed by the rest of the characters. 
Command string: F2100DF10D 
F2 is the “Send a number of characters” command 
10 is the number of characters to send for the first line 
0D is the hex value for a CR 
F1 is the “Send all characters” command 
0D is the hex value for a CR 
The data is output as:   
1234567890 
ABCDEFGHIJ 
<CR> 
 
  Send all characters up to a particular character 
F3    Include in the output message all characters from the input message, 
starting with the character at the current cursor position and continuing to, 
but not including, the search character “ss,” followed by an insert 
character. The cursor is moved forward to the “ss” character. Syntax = 
F3ssxx where ss stands for the search character’s hex value for its ASCII 
code, and xx stands for the insert character’s hex value for its ASCII code. 
Refer to th
, for decimal, hex 
and character codes.