Move the cursor to the end, Search commands, Search forward for a character – Honeywell Granit 1991iSR Ultra-Rugged Standard-Range Barcode Scanner User Manual

Page 145

Advertising
background image

Granit XP User Guide

129

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 280 for

decimal, hex and character codes.

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
<CR>

Advertising