Computer Accessories User Manual

134 Barcode Processing Overview
MX5X Reference Guide E-EQ-MX5CERG-F-ARC
Barcode Processing Overview
Note: Steps 1-7 describe the barcode manipulation. Steps 8-12 describe how the manipulated
data is built. Step 13 describes how the manipulated data is output.
The complete sequence of barcode processing is as follows:
1. Scanned barcode is tested for a code ID. If one is found, it is stripped from the data, and the
settings for the symbology specified are used. Otherwise, the All symbology settings are
used.
2. If symbology is disabled, the scan is rejected.
3. If the length of data (minus the code ID) is out of specified Min/Max range, the scan is
rejected.
4. Strip leading data bytes unconditionally.
5. Strip trailing data bytes unconditionally.
6. Parse for, and strip if found, Barcode Data strings.
7. Replace any control characters with string, as configured.
8. Add prefix string to output buffer.
9. If Code ID is *not* stripped, add saved code ID from above to output buffer.
10. Add processed barcode string from above to output buffer.
11. Add suffix string to output buffer.
12. Add a terminating NUL to the output buffer, in case the data is processed as a string.
13. If key output is enabled, start the process to output keys. If control characters are
encountered:
If Translate All is set, key is translated to CTRL + char, and output.
If Translate All is not set, and key has a valid VK code, key is output.
Otherwise, key is ignored (not output).
The data is ready to be read by applications.
See Barcode Processing Examples at the end of the Barcode Tab section.
Integrated Scanner Programming Guide and the Reset All barcode.
After scanning the Reset All (to factory defaults) barcode for the specific scan engine, the next
step is Start | Settings | Control Panel | Scanner. Tap the OK button and close the scanner applet.
This action will synchronize all scanner formats.