The size you are seeing is in always user space coordinates.
If you examine the transform (Graphics2D.getTransform()) you'll see
that there's a scale from user coordinates to device resolution.
You'll also notice that line from 0,0 to 600, 480 fully crosses
the printable area of the page, showing
Hello,
I have problem with resolution of printer using Java 2D Printing API.
Despite my printer has 600 x 600 DPI, inside
java.awt.print.Printable.print(Graphics, PageFormat, int) I receive page
format with 600 x 840 page size.
I have tried to set resolution using
javax.print.attribute.PrintRequ
Hello,
I have problem with too small print page size using Java 2D Printing API.
Despite my printer has 600 x 600 DPI, inside
java.awt.print.Printable.print(Graphics, PageFormat, int) I receive page format
with 600 x 840 page size.
I have tried to set resolution using
javax.print.attribute.P