Download MX8 Reference Guide - Southern Graphics & Systems
Transcript
144 Barcode Processing Overview 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. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 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. If symbology is disabled, the scan is rejected. If the length of data (minus the code ID) is out of specified Min/Max range, the scan is rejected. Strip leading data bytes unconditionally. Strip trailing data bytes unconditionally. Parse for, and strip if found, Barcode Data strings. Replace any control characters with string, as configured. Add prefix string to output buffer. If Code ID is *not* stripped, add saved code ID from above to output buffer. Add processed barcode string from above to output buffer. Add suffix string to output buffer. Add a terminating NUL to the output buffer, in case the data is processed as a string. 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. See Valid VK Codes for CE. MX8 Reference Guide E-EQ-MX8RG-A