5 - 5
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
F5 is the “Move the cursor forward a number of characters” command
03 is the number of characters to move the cursor
F1 is the “Send all characters” command
0D is the hex value for a CR
The data is output as:
4567890ABCDEFGHIJ
<CR>
Move the cursor backward a number of characters
F6 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.
Move the cursor to the beginning
F7 Move the cursor to the first character in the input message.
Syntax = F7.
FE and F7 Example: Manipulate bar codes that begin with a 1
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
FE is the “Compare characters” command
31 is the hex value for 1
F7 is the “Move the cursor to the beginning” command
F2 is the “Send a number of characters” command
06 is the number of characters to send
0D is the hex value for a CR
The data is output as:
123456
<CR>
Move the cursor to the end
EA Move the cursor to the last character in the input message.
Syntax = EA.
Search Commands
Search forward for a character
F8 Search the input message forward for “xx” character from the current cursor position, leaving the cursor pointing to the
“xx” character.
Syntax = F8xx
where xx stands for the search character’s hex value for its ASCII code.
Refer to the
ASCII Conversion Chart (Code Page 1252),
beginning on page A-3 for decimal, hex and character codes.
F8 Example: Send bar code data that starts after a particular character
Search for the letter “D” in bar codes and send all the data that follows, including the “D.” Using the bar code above:
Command string:
F844F10D
F8 is the “Search forward for a character” command
Summary of Contents for YJ-HF500
Page 1: ...YJ HF500 Area Imaging Scanner User s Guide...
Page 8: ...vi...
Page 46: ...3 14...
Page 60: ...5 10...
Page 112: ...8 4...
Page 136: ...12 2...
Page 146: ...A 10...
Page 150: ...Programming Chart 0 1 2 3 4 5 6 7 8 9...
Page 152: ...YJ HF500 ENUS UG Rev A 10 15...