HAbramowski
Programmer
I don’t think this needs a coding solution, though I am willing to implement one. I believe this problem needs the knowledge of an “OPOS device” person and or a Citrix / Terminal Services guru. Maybe someone who’s experienced the problem of an usb scanner device not being ‘seen’ by the citrix server and got it resolved.
The GOAL:
I need to be able to disable and enable the USB scanners laser beam whenever an error message or question dialog box appears in our VB6 application. The scanner is the LS2208 formerly from SYMBOL, now Motorola. I tried to use Microsoft’s WMI but that turned out to be a dead end. (We are running XP on the desktops and XPe on the thin clients.)
The solution I found was to use an ActiveX control provided by Motorola. A drivers installation program gave us documentation and sample code along with scanner.ocx and stiopos.dll . This gave me coding ability to enable and disable the LS2208. However one of the conditions was that the scanner had to be put into "USB OPOS Hand-held" mode. Until now, we had been operating in "HID KEYBOARD EMULATION" mode.
The PROBLEM:
To make a long story not so long, the coding changes worked while we testing it as a locally running app; and then failed entirely when we ran this same application via citrix neighborhood. When we put the LS2208 into "USB OPOS Hand-held" mode, the device is no longer seen by citrix/Terminal services. I know this is the case and not that its something in my app because I used motorola’s TESTSCAN.exe program to determine where in the process the data was failing to reach the citrix server.
TESTSCAN tests any scanner that can work with the scanner.ocx control. (recall that The barcode scanner has to be put into "USB OPOS Hand-held" mode for it to work with scanner.ocx) When run on the local drive of either a desktop or a thin client, this test program could communicate with “STI_USBSCANNER” and receive the scanners output. When we ran this as a citrix application, we didn’t get as far as test a scan. We could not “OPEN STI_USBSCANNER”. The test program tells us this service object cannot be found.
We could go back to "HID KEYBOARD EMULATION" mode to allow the USB scanner to communicate again. Unfortunately in "HID KEYBOARD EMULATION" mode, the ocx control cant communicate with the scanner. So the problem appears to me as :
what do we need to do , so that a LS2208 in "USB OPOS Hand-held" mode is recognized by the citrix server as the clients OPOS scanner device?
I have googled, dogpiled, searched, every possible combination of keywords and I dont see this problem addressed. I am fairly certain that this problem ISNT one that needs a coding solution. I am sure that this is a matter of configuration either at the client end or the server end of the citrix/Terminal services. However I am more than willing to implement a coding solution if necessary.
So, anyone out there familiar with this situation?
Thanks
Harry
PS: I do have more info - in changes I witnessed in the DEVICE MANAGER window – but I’ll put that in a reply. This is long enough to read already
The GOAL:
I need to be able to disable and enable the USB scanners laser beam whenever an error message or question dialog box appears in our VB6 application. The scanner is the LS2208 formerly from SYMBOL, now Motorola. I tried to use Microsoft’s WMI but that turned out to be a dead end. (We are running XP on the desktops and XPe on the thin clients.)
The solution I found was to use an ActiveX control provided by Motorola. A drivers installation program gave us documentation and sample code along with scanner.ocx and stiopos.dll . This gave me coding ability to enable and disable the LS2208. However one of the conditions was that the scanner had to be put into "USB OPOS Hand-held" mode. Until now, we had been operating in "HID KEYBOARD EMULATION" mode.
The PROBLEM:
To make a long story not so long, the coding changes worked while we testing it as a locally running app; and then failed entirely when we ran this same application via citrix neighborhood. When we put the LS2208 into "USB OPOS Hand-held" mode, the device is no longer seen by citrix/Terminal services. I know this is the case and not that its something in my app because I used motorola’s TESTSCAN.exe program to determine where in the process the data was failing to reach the citrix server.
TESTSCAN tests any scanner that can work with the scanner.ocx control. (recall that The barcode scanner has to be put into "USB OPOS Hand-held" mode for it to work with scanner.ocx) When run on the local drive of either a desktop or a thin client, this test program could communicate with “STI_USBSCANNER” and receive the scanners output. When we ran this as a citrix application, we didn’t get as far as test a scan. We could not “OPEN STI_USBSCANNER”. The test program tells us this service object cannot be found.
We could go back to "HID KEYBOARD EMULATION" mode to allow the USB scanner to communicate again. Unfortunately in "HID KEYBOARD EMULATION" mode, the ocx control cant communicate with the scanner. So the problem appears to me as :
what do we need to do , so that a LS2208 in "USB OPOS Hand-held" mode is recognized by the citrix server as the clients OPOS scanner device?
I have googled, dogpiled, searched, every possible combination of keywords and I dont see this problem addressed. I am fairly certain that this problem ISNT one that needs a coding solution. I am sure that this is a matter of configuration either at the client end or the server end of the citrix/Terminal services. However I am more than willing to implement a coding solution if necessary.
So, anyone out there familiar with this situation?
Thanks
Harry
PS: I do have more info - in changes I witnessed in the DEVICE MANAGER window – but I’ll put that in a reply. This is long enough to read already