92
5.
DATA FORMATTING
cursor back to the beginning of the data and send 6 characters followed by a
carriage return. Using the bar code above:
Command string: FE31F7F2060D
FE
31
F7
F2
06
0D
“Compare characters” command
Hex value for 1
“Move the cursor to the beginning” command
“Send a number of characters” command
Number of characters to send
Hex value for a CR
The data is output as:
123456
<CR>
5-4-3 Search Commands
F8—Search forward for a character
Search the input message forward for “xx” character from the current cursor
position, leaving the cursor pointing to the “xx” character.
Syntax = F8xx
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: Send bar code data that starts after a particular character
Search for the letter “D” in bar codes and send all the data that follows,
including the “D.” Using the bar code above:
Command string: F844F10D
F8
44
F1
0D
“Search forward for a character” command
Hex value for “D”
“Send all characters” command
Hex value for a CR
The data is output as:
DEFGHIJ
<CR>
5-4-3 Search Commands
Summary of Contents for CM-2D202
Page 1: ...2D Handheld Barcode Scanner User Manual Ver 1 4 Copyright March 14 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...