views:

19

answers:

1

I am fixing some printing (plotter) problems in our java code(windows 32).

The paper is 50 meter roll , loaded on to plotter. The paper It 36 inch "wide". I am printing image 36inch by 108 inch. When I print what is with height and width I can use?

[ FYI. The testing is done using print to file, No paper is wasted :) ]

Thanks, Jayan

+1  A: 

As discussed in Printing: A Basic Printing Program: "The PageFormat class describes the page orientation (portrait or landscape) and its size and imageable area in units of 1/72nd of an inch."

Addendum: Note that the width and height methods of PageFormat take into account the orientation of the page.

trashgod