Example of wrong paper size: In a Set<Paper>, returned by PrinterAttributes.getSupportedPapers() method, paper named "folio" is 1734 x 2652 points, which, when divided by 72.0 gives us 24.083" x 36.833" instead of correct size 8.5" x 13.0" . To get correct size in inches we have to divide size in points by 204 dpi instead of 72 dpi. The same is true for all the Paper objects which are not constants defined in Paper class.
- duplicates
-
JDK-8095324 [Printing] Cups - incorrect paper size
- Resolved