
N3680 Decoded Engine User Guide
71
If the bar code has characters that the host application does not want included,
you can use the E4 command to replace those characters with something else. In
this example, you will replace the zeroes in the bar code above with carriage
returns.
Command string:
E402300DF10D
The data is output as:
1234
5678
ABC
<CR>
E5—Stop replacing characters
Terminates character replacement.
Syntax = E5.
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
ASCII Conversion Chart (Code Page 1252),
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.
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
E4
“Replace characters” command
02
Total count of characters to be replaced, plus the replacement characters (0 is replaced by
CR, so total characters = 2)
30
Hex value for 0
0D
Hex value for a CR (the character that will replace the 0)
F1
“Send all characters” command
0D
Hex value for a CR
EC
“Check for a number” command
F1
“Send all characters” command
0D
Hex value for a CR
Summary of Contents for CF3680
Page 1: ...User Guide N3680 CF3680 Decoded Engine and 2D Imager Module ...
Page 14: ...xiv N3680 Decoded Engine User Guide ...
Page 16: ...xvi N3680 Decoded Engine User Guide ...
Page 140: ...124 N3680 Decoded Engine User Guide ...
Page 184: ...168 N3680 Decoded Engine User Guide ...
Page 201: ...N3680 Decoded Engine User Guide 185 Programming Chart 0 1 2 3 4 5 6 7 8 9 ...
Page 203: ... Honeywell 9680 Old Bailes Road Fort Mill SC 29707 www honeywellaidc com N36XX UG Rev C 2 17 ...