Print Functionality Issue

0
Hi Team,   We are facing challenges in our project regarding the print functionality. We have done the print functionality with 2 ways, 1. Screenshot |print screen | pdf widget – Mendix Widget available in market place. 2. Print Class – It’s not widget. It’s function which give a print option based on the container class. In 1st option, there is an issue with PDF resolution so that it looks blurry when we open the pdf. Please find the attached PDF. In 2nd option, there is an issue with the PDF alignment. Please find the attached PDF Other options, we are not able to try as the format of the scorecard is not fixed. Scorecard fields are based on user selection. It’s dynamic because we have visibility logic at group box level & field level on scorecard. So, we need your help to find out the alternative/resolution for this print functionality. It will be great, if you can resolve issue of 1st option for blurry pdf
asked
5 answers
0

Hi Juhi,

Try the below widgets for Print functionality

 

Print Screen to PDF:

https://marketplace.mendix.com/link/component/27069

Container Print Widget:

https://marketplace.mendix.com/link/component/208318

answered
0

Are you using the Generate Document functionality to generate your PDFs in your Mendix application? This should give you high-quality PDF documents for downloading and printing.

https://docs.mendix.com/refguide9/generate-document/

Good luck!

answered
0

Hi Juhi Parekh

Try using this component from mendix marketplace : Link

answered
0

Hi,

This is a common limitation with screenshot-based PDF solutions – the blurry output happens because it generates an image, not a real PDF.

If you need high quality, it’s better to switch to Generate Document. It creates a proper PDF, so the result will be sharp.

Dynamic content is not a blocker:

  • you can handle visibility in the template (show/hide)
  • lists and conditions are also supported

The scroll container issue is related as well – screenshot only captures the visible part.

👉 In short:

  • Blurry PDF → screenshot limitation
  • Solution → Generate Document (template-based PDF)


answered
0

Guys , Generate Document is gonna be deprecated , so use pdf document Generation , preety good

answered