- 110 -
MS926 User’s Manual
■
Search backward for a non-matching character
E7
Search the input message backward for the first non-“xx” character from
the current cursor position, leaving the cursor pointing to the non-“xx”
character. Syntax = E7xx where xx stands for the search character’s hex
value for its ASCII code. Refer to the
, for decimal, hex and character codes.
4.8.4.4 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>