locked
Windows 8.1 Store app not able to detect Barcode Scanner

    Question

  • Hi everyone,

    I am getting problem in detecting the scanner attached to my tablet in USB COM mode. I have used the 'GetDefaultAsync' method of the scanner class of PointOfService, for getting first available barcode scanner device but the method is returning null.

    However in control panel, in devices and printers option I m able to get scanner under "Unspecified Device".

    I am using HP Elite Pad 900 with with OS windows 8.1 and creating a windows 8.1 metro app. My scanner device is an HP retail jacket with scanner integrated to it. My scanner specification shows support for OPOS, so i have installed OPOS driver on my tablet. The sample application provided with OPOS driver is able to detect the scanner, claim the scanner and scan the barcode also.

    But using my metro app, I am not able to get the scanner from GetDefaultAsync.

    Please provide some solutions for the same ... let me know if it is possible or not to detect the scanner in USB COM Mode and the category of scanner is Unspecified Device.


    Sunday, February 23, 2014 4:18 AM

All replies

  • Could you use a web cam and the zxling barcode reader library instead?

    http://zxingnet.codeplex.com/

    Sunday, February 23, 2014 9:24 PM
  • Hi Ken,

    I do not want to use camera for scanning barcode. I have a Retail Jacket for Elite Pad which have an in-built scanner with it. Also I am using Windows 8.1 Point of Service Library.

    However I am not able to get the scanner object. When trying to get the devices list, I am getting four devices with the name HP COM Scanner, among which two has IsActive = true.

    I have changed the Mode of scanner from Key board mode to Com Mode but still the app is not able to detect the device.

    Also when I am trying to execute the form application for Scanner integration using POS for .Net, it is working fine with desktop but giving some security error on tablet(Something like sandboxed model of Windows RT I have found on internet is responsible for it).

    Can anyonehelp me on this issue.

    Regards,

    Amit

    Thursday, March 13, 2014 12:16 PM
  • We have the same issue. Though we are trying to use the MSR on the jacket as well. Going to 'Change PC setting>PC and devices>Devices>Other Devices' you can see both the barcode scanner and MSR. Though the sample application using the .net POS can't find the devices. FYI, HP does not seem to have drivers for the jacket if using Windows 8.1, only 8.
    Thursday, April 10, 2014 12:47 PM
  • Hi..Did u Find Any Solution For This Problem...I'm Also Facing This Problem
    Thursday, July 10, 2014 7:59 AM
  • Any solution? I am experiencing the exact problem.
    Saturday, December 6, 2014 11:12 AM
  • We're in the same boat here.  We have a Motorola DS6878 that we want to use in a Windows Store App.
    Friday, May 1, 2015 5:28 PM