The page I want to download as PDF does not fit.

3
Hello, I'm using the DocumentGeneration module in Mendix 10.3. When I want to download the page as PDF, it only prints a part of the page instead of the whole page. I tried all the Page Orientation and Page size combinations in the Properties -> Appereance section of the page, but I still could not get the entire page. Below, you can see difference between the actual page I want to print and the printed page.    
asked
3 answers
0

Hello,

In 9.6 i have used Document template and  generate document - Document generation feature to achieve this and working fine.

image.png

answered
0

Make sure that the layout of the page you are using is DocumentGeneration_Default

Mendix Page Layout Screenshot

answered
0

Hi Ayberk,

 

You can download whole using simple javascript function.

Try this

https://medium.com/@mohammad.saqib_1262/how-to-generate-pdf-using-simple-javascript-action-in-mendix-81d0598a2e50

 

answered