Page Orientation

0

Hi

Page Orientation is not working. When I configure to Landscape in Properties, display does not to change to landscape. And when I generate pdf, it also does not make it landscape.

Thanks,

Jin

xujin_helen's picture
Joined: Jun 25 2012 - 3:59pm
Last seen: 7 years 3 months ago

2 Answers:

1

Hi,

 

You should make it easier for people to help you by attaching some relevant files to your post, such as the JRXML and maybe even the PDF. Note that in JR, changing the Page Orientation does not change the page size of your report design. The page orientation is just a hint used by some printers, to know the need to change the direction of printing.

You need to change page width with page height and make your report design landscape, as seen in the /demo/samples/landscape sample shipped with the JR library source package.

http://jasperreports.sourceforge.net/sample.reference/landscape/index.html#landscape

I hope this helps.
Teodor

 

teodord's picture
4381
Joined: Jun 30 2006 - 9:00am
Last seen: 2 weeks 7 hours ago
0

Hi Teodor,

Thanks for the reply. When I thought I could explain by writing, I simply wanted to save some time. Next time, I will try to provide more evidence.

Thanks,

Jin

 

xujin_helen's picture
Joined: Jun 25 2012 - 3:59pm
Last seen: 7 years 3 months ago
Feedback
randomness