background image

USB Interfaces

For USB-Capable Adaptus Imaging Technology Imagers:

2020-5B, 3800i, 3800r, 4600g, 4800i, 5X00, and 5X80

Application Note

Содержание 2020-5B

Страница 1: ...USB Interfaces For USB Capable Adaptus Imaging Technology Imagers 2020 5B 3800i 3800r 4600g 4800i 5X00 and 5X80 Application Note ...

Страница 2: ...ent contains proprietary information that is protected by copyright All rights are reserved No part of this document may be photocopied reproduced or translated into another language without the prior written consent of Hand Held Products 2006 Hand Held Products Inc All rights reserved Web Address www handheld com Microsoft Windows 98 Windows 2000 and Windows XP are either registered trademarks or...

Страница 3: ...low Control 1 3 Baud Rate Data Bits Stop Bits and Parity 1 3 COM Port Emulation Driver 1 4 HID POS Interface 1 11 Access the Device in Your Program 1 11 Getting Scanned Data 1 11 Trigger the Device 1 12 Send Serial Data to the Device 1 12 Redirect Output 1 12 IBM SurePos Interface 1 12 USB Serial Number 1 13 When the Serial Number Should be Ignored 1 13 Ignoring the Serial Number in Windows 2000 X...

Страница 4: ...ii USB Interfaces User s Guide ...

Страница 5: ...yboard Emulation beginning on page 1 2 for complete keyboard emulation information COM Port Emulation COM port emulation is based on CDC class If your application used regular COM ports in the past COM port emulation is a good choice In most cases no code change is required in your application although existing applications may not support hot plugging the COM ports Note The COM port emulation doe...

Страница 6: ...em generates two logical devices HID keyboard HID bar code reader HID POS Two different interfaces for one device offers more features than a single keyboard emulation If you don t need the additional features of HID POS just ignore that interface All output leaves the device via the keyboard interface by default HID POS allows application programs to control the trigger and disable bar code readi...

Страница 7: ...you respond with NAK Note An asterisk denotes the default setting Baud Rate Data Bits Stop Bits and Parity Baud rate number of data and stop bits and parity are important settings for any RS 232 connection however they are unnecessary with this interface USB has its own transfer parameters and is much safer than a regular RS 232 connection There is no need for error detection on the application le...

Страница 8: ...tails about ignoring the serial number Note An asterisk denotes the default setting COM Port Emulation Driver Hand Held Products provides a custom serial COM port emulation USB driver for use with its Adaptus Imaging Technology products This driver allows data transfer speeds of up to 7 meg bits per second The COM port emulation driver is required for Windows 2000 see below Windows XP see page 1 7...

Страница 9: ...you plug in the device the following screens appear Click on Next Click on Search for a suitable driver and click Next Click on Specify a location and click Next Click on Browse and navigate to the directory where the hhpcdc inf is stored ...

Страница 10: ...1 6 USB Interfaces User s Guide Click on Open Click on OK Click on Next Click on Finish ...

Страница 11: ...t click to view the properties of the device To change the port number go to Port Settings and click on Advanced Select the port number you wish to use Note The FIFO settings are not needed and are therefore ignored Windows XP This driver installation is similar to Windows 2000 When you plug in the device the following screens appear ...

Страница 12: ...st and click on Next Click on Include this location in the search and enter the path where hhpcdc inf is stored You may also use the Browse button to navigate to the file location Click on Next If this message appears click on Continue Anyway Click on Finish ...

Страница 13: ...e device the following screens appear Click on Next Click on Search for the best driver and click Next Click on Specify a location and enter the path where hhpcdc inf is stored You may also use the Browse button to navigate to the file location Click on Next Click on Next ...

Страница 14: ...s Select the port number you wish to use Windows 95 Windows NT and Older These operating systems do not support USB or the support is not reliable Upgrade to Windows 2000 or Windows XP Apple Mac OS9 and OS X Mac OS9 and OS X do not need a driver installation These operating systems recognize the device automatically as a USB CDC ACM device ...

Страница 15: ...d in the input report which uses USB direction names input to the PC and output to the device Scan the following bar code to program the imager for a HID POS interface Access the Device in Your Program CreateFile opens the device as a HID then ReadFile delivers the scanned data to the application Use WriteFile to send data to the device For complete information on USB and HID interfaces please see...

Страница 16: ...gnore a possible error That way your software can work automatically with both the pure HID POS and the composite keyboard HID POS The HID POS is interface 1 in the composite model so use 1 as the interface number IBM SurePos Interface Note IBM SurePos does not require a custom driver installation IBM SurePos communicates via USB with an interface similar to that used in the 4680 cash register It ...

Страница 17: ...mber programming is required Hand Held Products writes a unique serial number string to all of its USB devices No matter which USB port the device is plugged into the operating system uses the serial number to identify the device See COM Port Naming page 1 4 for further information When the Serial Number Should be Ignored Whenever a USB device is connected an entry is made in the computer s regist...

Страница 18: ... PID Table below for the PID of a given device You can also use the MS tool UsbView exe to find this information The entry below appears after a fresh installation and enables the serial numbers globally We recommend leaving this setting unchanged GlobalDisableSerNumGen 1 Details for COM Port Emulation If you have Administrator rights you can create a text file that ignores serial numbers for the ...

Страница 19: ... is 040A VID and PID are hex Device PNAME Interface Type PID Hex PID Dec IT5600 Base 160 352 HID Keyboard PC 161 353 HID Keyboard Mac 162 354 SurePos HH 163 355 SurePos TT 164 356 HIDPOS 167 359 CDC ACM COM port emulation 16A 362 3800r formerly the IT5600 Base 400 1024 HID Keyboard PC 401 1025 HID Keyboard Mac 402 1026 SurePos HH 403 1027 SurePos TT 404 1028 HIDPOS 407 1031 CDC ACM COM port emulat...

Страница 20: ...ulation 46A 1130 IT4600 Base 200 512 HID Keyboard PC 201 513 HID Keyboard Mac 202 514 SurePos HH 203 515 SurePos TT 204 516 HIDPOS 207 519 CDC ACM COM port emulation 20A 522 4600g formerly the IT4600 Base 440 1088 HID Keyboard PC 441 1089 HID Keyboard Mac 442 1090 SurePos HH 443 1091 SurePos TT 444 1092 HIDPOS 447 1095 CDC ACM COM port emulation 44A 1098 IT2020 Base 260 608 HID Keyboard PC 261 609...

Страница 21: ...mulation 1EA 490 IT4080 Base 220 544 HID Keyboard PC 221 545 HID Keyboard Mac 222 546 SurePos HH 223 547 SurePos TT 224 548 HIDPOS 227 551 CDC ACM COM port emulation 22A 554 IT4200 Base 280 640 HID Keyboard PC 281 641 HID Keyboard Mac 282 642 SurePos HH 283 643 SurePos TT 284 644 HIDPOS 287 647 CDC ACM COM port emulation 28A 650 4206 formerly the IT4200 Base 4A0 1184 HID Keyboard PC 4A1 1185 HID K...

Страница 22: ...ulation 2EA 746 5110 Base 320 800 HID Keyboard PC 321 801 HID Keyboard Mac 322 802 SurePos HH 323 803 SurePos TT 324 804 HIDPOS 327 807 CDC ACM COM port emulation 32A 810 5180 Base 300 768 HID Keyboard PC 301 769 HID Keyboard Mac 302 770 SurePos HH 303 771 SurePos TT 304 772 HIDPOS 307 775 CDC ACM COM port emulation 30A 778 4600r Base 4C0 1216 HID Keyboard PC 4C1 1217 HID Keyboard Mac 4C2 1218 Sur...

Страница 23: ...nderstand how to restore the registry if a problem occurs Entries for all USB devices are under HKEY_LOCAL_MACHINE Inside this key look for Enum USB Every time you plug in a USB device the OS updates the Enum USB entries in order to keep track of all the devices it already knows If a device is not yet listed the OS asks you for a driver Some devices are known by the device class HID and the OS ins...

Страница 24: ...s information about modifying your computer s registry Before you modify the registry be sure to back it up first and make sure you understand how to restore the registry if a problem occurs Entries for all USB devices are under the key HKEY_LOCAL_MACHINE Inside this key look for Enum USB Entries for all USB devices are under SYSTEM CurrentControlSet Enum USB Note In Windows 2000 you might see a U...

Страница 25: ...ferent USB ports or if there are two devices connected to this PC These two other devices are anonymous Enabling Full Write Access in Windows 2000 This section contains information about modifying your computer s registry Before you modify the registry be sure to back it up first and make sure you understand how to restore the registry if a problem occurs In Windows 2000 and Windows XP there is li...

Страница 26: ...restore the registry if a problem occurs In Windows 2000 and Windows XP there is limited access to some registry hives from inside the regedit exe even for administrator accounts This is a safeguard to prevent you from destroying your operating system The following steps allow you access to these registry hives In Windows XP you can use the normal regedit exe for this task 1 Run the program regedt...

Страница 27: ...e Windows 9x family Q I used a special filter driver with Windows 98 to get details about the keyboard bar code reader But it does not work with Windows 2000 XP A This is a feature of these operating systems For security reasons they open all keyboards and pointing devices for exclusive access Q What is the difference between the HID POS with the keyboard interface and the pure HID POS A The USB i...

Страница 28: ...2 2 USB Interfaces User s Guide ...

Страница 29: ...Brazil Telephone 55 21 2178 0500 Fax 55 21 2178 0505 E mail brsuporte handheld com Mexico Telephone 704 998 3998 option 8 option 3 E mail latechsupport handheld com Europe Middle East and Africa Telephone 31 0 40 7999 393 Fax 31 0 40 2425 672 E mail eurosupport handheld com Asia Pacific Telephone Hong Kong 852 3188 3485 or 2511 3050 Telephone China 86 21 6361 3818 E mail aptechsupport handheld com...

Страница 30: ...3 2 USB Interfaces User s Guide ...

Страница 31: ......

Страница 32: ... Hand Held Products Inc 700 Visions Drive P O Box 208 Skaneateles Falls NY 13153 0208 USB AN Rev C 11 06 ...

Отзывы: