Honeywell N431X User Manual page 85

Decoded laser scan engine
Table of Contents

Advertisement

Search for the letters "FGH" in bar codes and send all the data that
fol-lows, including "FGH." Using the bar code 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
Search backward for a string
B1 Search backward for "s" string from the current cursor position,
leaving cursor pointing to "s" string. Syntax = B1nnnnS where nnnn is
the string length (up to 9999), and S consists of the ASCII hex value
of each character in the match string. For example, B1000454657374
will search backward for the first occurrence of the 4 character string
"Test." Refer to the
for decimal, hex and character codes.
Search forward for a non-matching character
E6 Search the input message forward for the first non-"xx" character from the
current cursor position, leaving the cursor pointing to the non-"xx"
character. Syntax = E6xx where xx stands for the search character's hex
value for its ASCII code. Refer to the
on page A-3 for decimal, hex and character codes.
E6 Example: Remove zeroes at the beginning of bar code data
This example shows a bar code that has been zero filled. You may
want to ignore the zeroes and send all the data that follows. E6
searches forward for the first character that is not zero, then sends
all the data after, followed by a carriage return. Using the bar code
above:
Command string: E630F10D
E6 is the "Search forward for a non-matching character" command
30 is the hex value for 0
F1 is the "Send all characters" command
0D is the hex value for a CR
<CR>
ASCII Conversion Chart,
ASCII Conversion Chart,
beginning on page A-3
beginning
5-11

Advertisement

Table of Contents
loading

Table of Contents