Fe-Compare Characters; B2-Compare String; Ec-Check For A Number; Ed-Check For Non-Numeric Character - Honeywell N4680 User Manual

2d decoded scan engine
Table of Contents

Advertisement

FE—Compare characters
Compare the character in the current cursor position to the character "xx." If char-
acters are equal, move the cursor forward one position. Syntax = FExx where xx
stands for the comparison character's hex value for its ASCII code.
Refer to the
decimal, hex and character codes.
B2—Compare string
Compare the string in the input message to the string "s." If the strings are equal,
move the cursor forward past the end of the string. Syntax = B2nnnnS where nnnn
is the string length (up to 9999), and S consists of the ASCII hex value of each char-
acter in the match string. For example, B2000454657374 will compare the string
at the current cursor position with the 4 character string "Test."
Refer to the
decimal, hex and character codes.
EC—Check for a number
Check to make sure there is an ASCII number at the current cursor position. The
format is aborted if the character is not numeric.
EC Example: Only output the data if the bar code begins with a number
If you want only data from bar codes that begin with a number, you can use EC to
check for the number.
Command string: ECF10D
EC
F1
0D
If this bar code is read,
be used on the data. If there is no other format, the format fails and the raw data is
output as AB1234.
If this bar code is read:
1234AB
<CR>
ED—Check for non-numeric character
Check to make sure there is a non-numeric ASCII character at the current cursor
position. The format is aborted if the character is numeric.
N4680 2D Decoded Scan Engine User Guide
ASCII Conversion Chart (Code Page 1252),
ASCII Conversion Chart (Code Page 1252),
"Check for a number" command
"Send all characters" command
Hex value for a CR
beginning on page 216 for
beginning on page 216 for
the next data format, if there is one, will
the data is output as:
79

Advertisement

Table of Contents
loading

Table of Contents