Honeywell YOUJIE YJ-HH360 User Manual page 75

Linear scanner
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
count of of the number of characters in the list (characters to be
replaced plus replacement characters); xx
replaced and xx
zz
and zz
.
1
2
E4 Example: Replace zeroes 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 zeroes 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
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 the CP1252 character.
Refer to the
decimal, hex and character codes.
defines replacement characters, continuing through
2
5678
ABC
<CR>
ASCII Conversion Chart (Code Page
xx
yy
yy
...zz
zz
1
2
1
2
1
defines characters to be
1
where nn is the total
2
1252), page A-3 for
5 - 11

Advertisement

Table of Contents
loading

This manual is also suitable for:

Youjie hh360Yj-hh360

Table of Contents