N3680 Decoded Engine User Guide 67
Move Commands
F5—Move the cursor forward a number of characters
Move the cursor ahead “nn” characters from current cursor position.
Syntax = F5nn where nn is the numeric value (00-99) for the number of characters
the cursor should be moved ahead.
Example: Move the cursor forward and send the data
Move the cursor forward 3 characters, then send the rest of the bar code data from
the bar code above. End with a carriage return.
Command string: F503F10D
The data is output as:
4567890ABCDEFGHIJ
<CR>
F6—Move the cursor backward a number of characters
Move the cursor back “nn” characters from current cursor position.
Syntax = F6nn where nn is the numeric value (00-99) for the number of characters
the cursor should be moved back.
F7—Move the cursor to the beginning
Move the cursor to the first character in the input message. Syntax = F7.
Example: Manipulate bar codes that begin with a 1 (FE and F7)
Search for bar codes that begin with a 1. If a bar code matches, move the cursor
back to the beginning of the data and send 6 characters followed by a carriage
return. Using the bar code above:
Command string: FE31F7F2060D
F5 “Move the cursor forward a number of characters” command
03 Number of characters to move the cursor
F1 “Send all characters” command
0D Hex value for a CR
FE “Compare characters” command
31 Hex value for 1