2D Mini Barcode Scanner—178921
User Manual
15
Chapter 5: Customized Data Inclusion
Introduction
For some applications, users may wish to include additional information/functionality such as barcode
type, data acquisition time or a delimiter to the barcode data. The functions here can attach customized
prefix and suffix information to the barcode's scanned data or move the cursor to a new field or line
without changing the barcode data itself.
Note: Customized data — <Prefix><Data><Suffix><Terminating Characters>
Terminating Character Setting
These codes instruct the host device's cursor to move to a new position in the data fields once a scan has
been completed.
Add Return CR*
Add Newline LF
Add Newline
Add TAB (HT)
Setting a Custom Prefix or Suffix
This function enables users to add customized prefix and suffix information to the standard barcode data.
For example, the host device/computer reports “VC123" before scanned barcode data when the user
scans the barcodes for “V,” “C,” “1,” “2” and “3" in the prefix setting. Likewise, the host device/computer
reports “123DE” after scanned barcode data when the user scans the barcodes for “D,” “E,” “1,” “2” and “3”
in the suffix setting.
Set Custom Prefix
To set a custom prefix, refer to Appendix B and determine the hexadecimal values that will create it.
Then, scan “Set Custom Prefix.” Next, scan Byte Bit "9" (Appendix A)
twice
before scanning the
corresponding Byte Bits that represents the hexadecimal values of the desired suffix. Finally, scan
“Save.”
Example: Set the custom prefix “OK”:
A.
Check the hex value of “OK” in the ASCII table (“OK”: 4F 4B);
B.
Scan “Set Custom Prefix” programming code;
C.
Scan the numeric barcodes “9”, “9”, “4”, “F”, “4”, “B” in Appendix A;
D.
Scan “Save."