Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8058316

lookupDefaultPrintService returns null on Solaris 11 when default printer is set using lpoptions command

XMLWordPrintable

    • 2d
    • b110
    • unknown
    • solaris_11

        On some Solaris 11 hosts lookupDefaultPrintService() returns null while lpstat -d reports an ipp printer.
        lookupPrintServices(null, null) returns one service.

        I have several identical Solaris 11 machines, all configured to use the same CUPS printer on a remote host.
        I don't understand where configuration is stored on this system; /etc/cups/printers.conf is empty on the machines. lpstat reports the service, and it is default and active from the point of view of lpstat. Printer is visible from localhost:631 and may be used to print a test page etc. It was set as a default by a call "lpoptions -d printername".

        Attempt to set the printer as a server default from WEB interface fails with a message to the effect of "you should access this page via certain URL not on your localhost".

              psadhukhan Prasanta Sadhukhan
              yan Yuri Nesterenko
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: