Honeywell Solaris 7980g User Manual page 98

Area-imaging vertical slot scanner
Hide thumbs Also See for Solaris 7980g:
Table of Contents

Advertisement

Replace characters
E4 Replaces up to 15 characters in the output message, without moving the cursor.
Replacement continues until the E5 command is encountered. Syntax =
E4nnxx
in the list (characters to be replaced plus replacement characters); xx
characters to be replaced and xx
through zz
E4 Example: Replace zeros with CRs in bar code data
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 zeros in the bar code above with carriage returns.
Command string: E402300DF10D
E4 is the "Replace characters" command
02 is the total count of characters to be replaced, plus the replacement characters
(0 is replaced by CR, so total characters = 2)
30 is the hex value for 0
0D is the hex value for a CR (the character that will replace the 0)
F1 is the "Send all characters" command
0D is the hex value for a CR
The data is output as: 1234
5678
ABC
<CR>
Stop replacing characters
E5 Terminates character replacement. Syntax = E5.
Compare characters
FE Compare the character in the current cursor position to the character "xx." If
characters 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
Conversion Chart (Code Page 1252),
character codes.
84
xx
yy
yy
...zz
zz
where nn is the total count of the number of characters
1
2
1
2
1
2
and zz
.
1
2
defines replacement characters, continuing
2
beginning on page 224 for decimal, hex and
defines
1
Solaris 7980g User Guide
ASCII

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents