Link to home
Start Free TrialLog in
Avatar of youngs101497
youngs101497

asked on

Printing on different sizes of paper

My printing seem to be set up right but I can only print to 8 1/2 x 11.  I want to be able to print to 11 x 17 or any other available paper size.  I can select the the size from the system print dialog but it always prints to 8 1/2 x 11.

Is there a trick to print to any size paper or is there something I missed?

AJY.
Avatar of Mick Barry
Mick Barry
Flag of Australia image

1.1 or 1.2 printing?
Avatar of kostello
kostello

If you have a PageFormat object, you can use getImageableHeight() and getImageableWidth() to determine your printable area.
Avatar of youngs101497

ASKER

I am using Java 1.3 and all I want to do is be able to print to 11x17 or 8 1/2x11 depending on which was selected from the system print dialog.
Any chance of seeing the relevant parts of your code?
Also exactly what is happening when you try to print to different paper sizes, is the print image getting truncated?
ASKER CERTIFIED SOLUTION
Avatar of kostello
kostello

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
BTW, a small explanation of this problem was reported at http://developer.java.sun.com/developer/bugParade/bugs/4300630.html  Especially note the last 2 paragraphs of the explanation.