93
5.
DATA FORMATTING
F9—Search backward for a character
Search the input message backward for “xx” character from the current cursor
position, leaving the cursor pointing to the “xx” character.
Syntax = F9xx
where
xx stands for the search character’s hex value for its ASCII code. Refer to the
ASCII Conversion Chart (Code Page 1252),
for decimal, hex and character
codes.
E6—Search forward for a non-matching character
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),
for
decimal, hex and character codes.
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
30
F1
0D
“Search forward for a non-matching character” command
Hex value for 0
“Send all characters” command
Hex value for a CR
The data is output as:
37692
<CR>
E7—Search backward for a non-matching character
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),
for
decimal, hex and character codes.
Summary of Contents for CM-2D002
Page 1: ...2D Barcode Scanner Module User Manual Ver 1 2 Copyright March 15 2018 All rights reserved...
Page 20: ...20 2 PROGRAM THE INTERFACE Estonia Faroese Finland France Gaelic Germany Greek...
Page 35: ...35 2 PROGRAM THE INTERFACE 19200 bps 38400 bps 57600 bps 115200 bps...
Page 73: ...73 3 INPUT OUTPUT SETTINGS Upright Vertical Bottom to Top Upside Down Vertical Top to Bottom...
Page 141: ...141 6 SYMBOLOGIES 5 Digit Addenda Off...
Page 145: ...145 6 SYMBOLOGIES Off...
Page 154: ...154 6 SYMBOLOGIES Maximum Message Length...
Page 157: ...157 6 SYMBOLOGIES Maximum Message Length...
Page 230: ...230 Appendix A Reference Charts...
Page 233: ...233 Appendix A Reference Charts...
Page 237: ...237 Appendix A Reference Charts 7 8 9 Save Discard...
Page 239: ...239 Appendix A Reference Charts 7 8 9 A B C D...