• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Landscape

 
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic