Last updated on APRIL 07, 2017
Applies to:Java SE JDK and JRE - Version 8 to 8
Apple Mac OS X (Intel) (64-bit)
On MacOSX 10.11, PrintServiceLookup.lookupDefaultPrintService() and PrintServiceLookup.lookupPrintServices(null,null) sometimes could return null instead of PrintService even if a printer is set up appropriately as a default printer.
This issue does Not occur on Windos10 + JDK8.
$ java -showversion PrintServiceChecker |head
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b31)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b31, mixed mode)
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms