Why can't the Java print API handle paper widths that are greater than the height?

I am trying to understand why the Java print API cannot handle paper sizes where the width is greater than the height. The MediaSize class and all its inner classes have only sizes whose height is greater than the width. I'm trying to print 4 "x 2" labels, but the print job I wrote always converts it to 2 "x 2" on paper.

I found some things on the Internet that claim that the height should always be greater than the width and have seen in the Java source, checking this with the accompanying messages, that this is so, but cannot find the reason.

Does anyone know why this is?

+5
source share
1

, (. JavaDoc MediaSize - ).

(.. PaperFormat). , .

+2

All Articles