• Post Reply Bookmark Topic Watch Topic
  • New Topic

Landscape  RSS feed

Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,

I am trying to print a landscape paper using J2SE SDK 1.5.0_06 with the native print dialog(windows in my case). When i print in portrait the printout is perfect but when print in landscape the printout simpley does not rotate but just shifts downwards.

The thing is that this problem does not occur in 1.4, but only in 1.5. Could this be a bug or have i done something wrong in the code.

Here is a very simple compilable example using one of sun's examples. As you can see setting the pageformat to portrait the printout is correct but when seeting the page format to landscape it does not rotate but simple shift downwards.

Here is the program

When i run the above program in 1.4 there are no problems, could this be a bug in 1.5.0_06?

Any help i greatly appreciated

Thank You

Yours Sincerely

Richard West
[ July 13, 2006: Message edited by: Richard West ]
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!