[Simple Reports] Printing A4 landscaoe and A4 portrait pages in the same report

Forge Component
(25)
Published on 4 Apr by Marcos Galigarcia
25 votes
Published on 4 Apr by Marcos Galigarcia

Hi everyone,

I'm having some issues regarding printing different page orientation components in the same report. 

When trying to download PDF, weird adjustments to portrait (even if A4 landscape is chosen) are made.

Landscape is trying to fit inside a portrait page but even portrait or landcape pages start to appear out of the borders.

Anyone could help us on this issue?

Hi, Helena.


Download the PDF? Or print/save by browser? Because my component do not have the wkhtml to export PDF.
Is the demo flow working? Are you trying to print different orientation at same time screen?


You are right. Print/save by browser. Demo flow do work well, but iwhen I download, my PDf only have one orientation. Can't manage how to both and having them working well.


Solution

unfortunately this component/webbrowser preview/print only works for same orientation print. If you're using the wkhtmltopdf you can try export each orientation and then do a merge with this:

https://www.outsystems.com/forge/component-overview/3152/pdf-manipulation



Solution