The keyboard wedge scanner should be coded as follows for proper operation in iMerchant.
Allow the following bar code symbologies:
UPC-A / EAN-13
UPC-A / EAN-13 with optional 2 digit supplement.
UPC- A /EAN-13 with optional 5 digit supplement.
UPC-E
UPC-E with optional 2 digit supplement.
Code 39
Interleaved 2 of 5
Code 128
Expand UPC-A to 13 digit number EAN number if possible.
Add a prefix and suffix characters to the data stream from the scanner. This will allow iMerchant to recognize the keyboard input as a scan. iMerchant can then allow or disallow the scanned input as required in the application.
The prefix or pre-amble character must be the equivalent of the Control-G key being pressed on the keyboard. This is the ASCII code 07.
The suffix or post-amble character must be the equivalent of the enter key. Sometimes this is called the Carriage Return or CR key.
The data coming to iMerchant should be:
1 The prefix character (Control-G).
2 The bar code data from the scanner.
3 The suffix information, (Enter key)