1 Reply Latest reply on Jul 12, 2012 11:59 AM by 947952

    applet can't find printers (granted permission) on CentOS 6 [solved]

      PrintServiceLookup.lookupDefaultPrintService() returns null in the applet but returns the default printer when called in a small application.

      I tried permission java.lang.RuntimePermission "queuePrintJob" and also clicking OK to grant permission to the applet to access the printer. The applet also has permission for port 631. I thought it might be a CUPS problem but the application works.

      PrintServiceLookup.lookupPrintServices(null, null) returns an empty list.

      This is for a kiosk so I can set whatever permissions are required.

      What am I missing?


      Switching from Seamonkey 1.1.16 to Firefox solved the problem (same JRE 1.7.0_05).

      Edited by: 944949 on Jul 12, 2012 4:53 AM