Based on RT-35892
2) When trying to obtain a minimum PageLayout border with code:
PageLayout pl = prn.createPageLayout (pa.getDefaultPaper (), PageOrientation.PORTRAIT, Printer.MarginType.HARDWARE_MINIMUM);
throws java.lang.reflect.InvocationTargetException
Full stack is available in Google drive(file hardware_minimum_stack.txt).
This problem occurs on Windows also
Project, printer driver, ppd and cups admin screenshot:
https://drive.google.com/folderview?id=0Bz7309sTKJ2nWFJpc0Z2RXF5aEU&usp=sharing
2) When trying to obtain a minimum PageLayout border with code:
PageLayout pl = prn.createPageLayout (pa.getDefaultPaper (), PageOrientation.PORTRAIT, Printer.MarginType.HARDWARE_MINIMUM);
throws java.lang.reflect.InvocationTargetException
Full stack is available in Google drive(file hardware_minimum_stack.txt).
This problem occurs on Windows also
Project, printer driver, ppd and cups admin screenshot:
https://drive.google.com/folderview?id=0Bz7309sTKJ2nWFJpc0Z2RXF5aEU&usp=sharing
- duplicates
-
JDK-8095687 [Printing] Illegal argument exception for HARDWARE_MINIMUM margin when printing
-
- Resolved
-
-
JDK-8094382 [Printing] JavaFx & Cups problems
-
- Closed
-