5 - 7
FB is the “Suppress characters” command
01 is the number of character types to be suppressed
20 is the hex value for a space
F1 is the “Send all characters” command
0D is the hex value for a CR
The data is output as:
34567890
<CR>
Stop suppressing characters
FC Disables suppress filter and clear all suppressed characters.
Syntax = FC.
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
1
xx
2
yy
1
yy
2
...zz
1
zz
2
where nn is the total count of the number of characters
in the list (characters to be replaced plus replacement characters); xx
1
defines characters to be replaced and xx
2
defines
replacement characters, continuing through zz
1
and zz
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 char-
acters = 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
ASCII Conversion Chart (Code Page 1252),
beginning on page A-3 for decimal, hex and character codes.
Check for a number
EC 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.
Summary of Contents for YJ-HF500
Page 1: ...YJ HF500 Area Imaging Scanner User s Guide...
Page 8: ...vi...
Page 46: ...3 14...
Page 60: ...5 10...
Page 112: ...8 4...
Page 136: ...12 2...
Page 146: ...A 10...
Page 150: ...Programming Chart 0 1 2 3 4 5 6 7 8 9...
Page 152: ...YJ HF500 ENUS UG Rev A 10 15...