6 - 9
Search forward for a non-matching character
E6 Search the input message forward for the first non-“xx” character from the current cursor position, leaving the cursor
pointing to the non-“xx” character.
Syntax = E6xx where xx stands for the search 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.
E6 Example: Remove zeroes at the beginning of bar code data
This example shows a bar code that has been zero filled. You may want to ignore the zeroes and send all the data that
follows. E6 searches forward for the first character that is not zero, then sends all the data after, followed by a carriage
return. Using the bar code above:
Command string:
E630F10D
E6 is the “Search forward for a non-matching character” command
30 is the hex value for 0
F1 is the “Send all characters” command
0D is the hex value for a CR
The data is output as:
37692
<CR>
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
ASCII Conversion Chart (Code Page 1252),
beginning on page A-3 for decimal, hex and character
codes.
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>
Summary of Contents for Granit 1911i
Page 1: ...Xenon 1900 1910 Xenon 1902 1912 Granit 1910i 1911i Area Imaging Scanner User s Guide ...
Page 17: ...CCB02 100BT Base Compliance Label locations ...
Page 18: ......
Page 28: ...x ...
Page 40: ...1 12 ...
Page 90: ...3 28 ...
Page 114: ...4 24 Vertical Bottom to Top Upside Down Vertical Top to Bottom ...
Page 120: ...5 6 ...
Page 184: ...7 50 ...
Page 200: ...9 2 Denmark 8 9 6 Norway 8 9 6 Spain 6 Country Codes ...
Page 202: ...9 4 ...
Page 248: ...13 6 ...
Page 263: ...Programming Chart 0 1 2 3 4 5 6 7 8 9 ...
Page 264: ......