Do signed java applets have access to USB peripherals when run in the browser sandbox?

后端 未结 4 781
隐瞒了意图╮
隐瞒了意图╮ 2021-01-15 07:40

I\'ve implemented a Java package with functionality to operate a POS printer and cash drawer connected to the workstation via USB. I\'ve also implemented an applet to utili

4条回答
  •  我在风中等你
    2021-01-15 08:34

    I had a similar problem with an Epson TM-H6000III on XP and Win7 32bit using JRE 1.6. Administrators could use the device, but "Users" could not. Java console was reporting:

    Sep 23, 2011 3:38:47 PM com.xxxx.printer.epson.EpsonPrinter findPrinter
    INFO: Error opening PrinterIII: jpos.JposException: 
        Could not connect to service with logicalName = 
        PrinterIII: Exception.message=Property or stream open error.
    

    It appears the JRE installation had permission issues. Reinstalling JRE quickly cleared the problem.

提交回复
热议问题