michdraft
michdraft

Reputation: 556

why jasperreport prints always landscape on A4?

I have created a jasperreports in almost the same size of A6(width = 595 height = 842)format and i want it be printed on the A4 in portrait and in the middle but it prints always in landscape on A4. I use ireport 5.5.0 and jasperreport 5.5.0 to create and display it by java.

Any help will be appreciated.

Upvotes: 0

Views: 4931

Answers (1)

Ankur
Ankur

Reputation: 328

Try setting the orientation of the report, You can set it by going to the Report Inspector and selecting the report, and navigate to the properties of the report. There in the Page Size you can see, a property called orientation you can change it from Portrait to Landscape.

If you have done this earlier then you can go to the File menu from the Menu Bar in iReport and there is an option called Page Setup here you can set the printing specification.

Hope that this helps. Thanks.

Upvotes: 3

Related Questions