Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #27055

    Hey guys. This is my first post. Hope you guys can help me out.

    I have a page that I need in landscape. My default ‘orientation’ is set to ‘portrait’.

    I am trying to rotate my page with this line:
    <pd4ml:page.break pageFormat="rotate" />
    It works if there is HTML code before the line. If it’s the first line in my HTML body it doesn’t work. I.e. I add and empty tag and add the line after that. I will then get an empty page and then the landscape page I was aiming for.

    When I set my default page ‘orientation’ to ‘landscape’ it doesn’t have the same effect as rotate. It does return a page in ‘landscape’, but now the HTML table on this page overflows on the right hand side and doesn’t fit perfectly like when I use ‘rotate’.

    Thanks

    #29849

    impacts only next and subsequent pages. If you need the first page in landscape mode, specify that by pd4ml.setPageSize() API call or in corresponding PD4ML taglib’s attributes.

    (Note: works only in JSP context)

Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘Troubleshooting’ is closed to new topics and replies.