Newland NLS-NVH200 User Manual page 211

Hand-held barcode scanner
Table of Contents

Advertisement

Search Commands 
F8 Search forward for a character 
Syntax=F8xx (xx: The search character's hex value) 
Search  the  input  message  forward  for  "xx"  character  from  the  current  cursor  position,  leaving  the  cursor  pointing  to  the  "xx" 
character.   
 
F8 Example: Send barcode data that starts after a particular character 
Search for the letter "D" in barcodes and send all the data that follows, including the "D". Using the barcode above: Command string: 
F844F10D 
F8 is the "Search forward for a character" command 44 is the hex value for "D" 
F1 is the "Send all characters" command 0D is the hex value for a CR 
The data is output as: DEFGHIJ 
F9 Search backward for a character 
Syntax=F9xx(xx: The search character's hex value) 
Search  the  input  message  backward  for  "xx"  character  from  the  current  cursor  position,  leaving  the  cursor  pointing  to  the  "xx" 
character. 
 
B0 Search forward for a string 
Syntax=B0nnnnS (nnnn: The string length (up to 9999); S: The ASCII hex value of each character in the string) 
Search forward for "S" string from the current cursor position, leaving cursor pointing to "S" string. For example, B0000454657374 
will search forward for the first occurrence of the 4‐character string "Test." 
B0 Example: Send barcode data that starts after a string of characters 
Search for the letters "FGH" in barcodes and send all the data that follows, including "FGH." Using the barcode above: Command 
string: B00003464748F10D 
B0 is the "Search forward for a string" command 0003 is the string length (3 characters) 
46 is the hex value for "F" 47 is the hex value for "G" 48 is the hex value for "H" 
F1 is the "Send all characters" command 0D is the hex value for a CR 
The data is output as: FGHIJ 
197                                                                                                                                                                                            **Exit Setup 
<CR> 
<CR> 
 
 
 
Enter  Setup 
 

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents