94
5. DATA FORMATTING
5-4-4 Miscellaneous Commands
FB—Suppress characters
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.
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
01
0D
“Suppress characters” command
Number of character types to be suppressed
Hex value for a space
“Send all characters” command
Hex value for a CR
The data is output as:
34567890
<CR>
FC—Stop suppressing characters
Disables suppress filter and clear all suppressed characters. Syntax = FC
E4—Replace characters
Replaces up to 15 characters in the output message, without moving the
cursor. Replacement continues until the E5 command is encountered. Syntax
= E4nnxx- 1xx2yy1yy2...zz1zz2 where nn is the total count of the number of
characters in the list (characters to be replaced plus replacement characters);
xx1 defines characters to be replaced and xx2 defines replacement characters,
continuing through zz1 and zz2
Example: Replace zeroes with CRs in bar code data
5-4-4 Miscellaneous Commands