Enter Setup
15
**
Exit Setup
Access the engine with your program:
1.
Use CreateFile to access the engine as a HID device.
2.
Use ReadFile to deliver the scanned data to the application program.
3.
Use WriteFile to send data to the engine.
For detailed information about USB and HID interfaces, go to
www.USB.org
.
Acquire Scanned Data
After a barcode is decoded, the engine sends an input report as below:
Bit
Byte
7
6
5
4
3
2
1
0
0
Report ID = 0x02
1
Barcode Length
2-57
Decoded Data (1-56)
58-61
Reserved (1-4)
62
Symbology ID Number (Appendix 7) or N/C: 0x00
63
-
-
-
-
-
-
-
Decode Data
Continued
VID/PID
USB uses VID (Vendor ID) and PID (Product ID) to identify and locate a device. The VID is assigned by USB
Implementers Forum. Every PID contains a base number and interface type (keyboard, COM port, etc.).
Product
Interface
PID (Hex)
PID (Dec)
Base 0000
0
MS842N
HID-POS 0010 16
Summary of Contents for MS842N
Page 1: ...2D Imager Scanner MS842N User s Manual Version 0 2 ...
Page 12: ...Enter Setup Exit Setup 4 ...
Page 28: ...Enter Setup Disable Timeout Between Decodes Enable Timeout Between Decodes Exit Setup 20 ...
Page 34: ...Enter Setup Beep Type Type 1 Type 2 Type 3 Beep Volume Loud Low Medium Exit Setup 26 ...
Page 98: ...Enter Setup Set the Number of Barcodes 1 2 3 4 5 6 7 8 Exit Setup 90 ...
Page 129: ...F7 F12 F7 F8 F9 F10 F11 F12 ...
Page 130: ...Appendix 10 Digit Barcodes 0 9 0 5 1 6 2 7 3 8 4 9 ...
Page 131: ...A F A B C D E F ...