Honeywell 1452g Scanner User Manual


 
6 - 7
Miscellaneous Commands
Suppress characters
FB Suppress all occurrences of up to 15 different characters, starting at the current cursor position, as the cursor is
advanced by other commands. When the FC command is encountered, the suppress function is terminated. The
cursor is not moved by the FB command.
Syntax = FBnnxxyy . .zz where nn is a count of the number of suppressed characters in the list, and xxyy .. zz is the list
of characters to be suppressed.
FB Example: Remove spaces in bar code data
This example shows a bar code that has spaces in the data. You may want to remove the spaces before sending the
data. Using the bar code above:
Command string: FB0120F10D
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 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