The print option does not work

I am trying the standalone version of the PDF Viewer (great functionality!) but the print version does not work, when I click on the print icon for a few seconds a spinner appears but then disappears and does nothing.

Example: https://stackblitz.com/edit/wk8wlk-iyymvp

Tested on Windows 10 and Google Chrome.

Is it a bug?

Thank you very much!


1 Reply 1 reply marked as answer

SK Sinthiya Kalimuthu Syncfusion Team December 13, 2023 09:23 AM UTC

Hi Pere,


You may have blocked pop-ups by default, which could be the reason why the print window isn't opening. Please check your browser settings to confirm if pop-ups are blocked.

You can print in a new window using the PrintMode API. We have shared the API reference link and a sample for your reference. Kindly refer to it and revert to us if you have any concerns about it.


API reference - https://helpej2.syncfusion.com/javascript/documentation/api/pdfviewer/

Sample - https://stackblitz.com/edit/wk8wlk-fkbj6e?file=index.js


Thanks,

Sinthiya K


Marked as answer
Loader.
Up arrow icon