Based on RT-35892
Printed documents we create using WebView and send them to print. To correct formation of the document, we need to know the dimensions of the print. After getting a reference to the printer, we create PageLayout, while we need to get the minimum border width from different sides.
Problems we encountered
1) Under the Linux operating system incorrectly issued DPI. The printer is able to print with the DPI 102, 204. Under linux java gives DPI = 300
Project, printer driver, ppd and cups admin screenshot:
https://drive.google.com/folderview?id=0Bz7309sTKJ2nWFJpc0Z2RXF5aEU&usp=sharing
Printed documents we create using WebView and send them to print. To correct formation of the document, we need to know the dimensions of the print. After getting a reference to the printer, we create PageLayout, while we need to get the minimum border width from different sides.
Problems we encountered
1) Under the Linux operating system incorrectly issued DPI. The printer is able to print with the DPI 102, 204. Under linux java gives DPI = 300
Project, printer driver, ppd and cups admin screenshot:
https://drive.google.com/folderview?id=0Bz7309sTKJ2nWFJpc0Z2RXF5aEU&usp=sharing
- duplicates
-
JDK-8094382 [Printing] JavaFx & Cups problems
-
- Closed
-