Skip to main content

Search

Search

Obtaining Available Paper Sizes

Comments

1 comment

  • Avatar
    Legacy Poster

    To answer my own question: it turns out that java refuses paper sizes with x > y; it does not fit in a MediaSize.

    Java seems to have a different notion of orientation (from the java 1.7 api of OrientationRequested):

     

    PORTRAIT  The content will be imaged across the short edge of the medium.

    LANDSCAPE The content will be imaged across the long edge of the medium.

     

    so in java, orientation is not related to the print direction.

    0

Please sign in to leave a comment.