I am using ej2 pdf viewer to show user a pdf inside of an iframe and using the print module to print said pdf. When using the website normally the behaviour is as expected and the print button generates the expected output. When running the website inside of an iframe the print button generates a completly blank file even tho the pdf shows correctly in the pdf viewer.
I am using ej2 version 19.4.52.
Example of the output of the print button when running in the iframe:
Hi Jose,
We suspect that some plugins have been added in your window. So that the issue occurs. Kindly try it in Incognito mode or disable the plugin in your window. Else, we suggest you use the print mode as NewWindow to print the document in the new window as like below code snippet to get the issue resolved. We have shared the code snippets for your reference.
Code snippets:
viewer.printMode = 'NewWindow';
|
Please try this and revert to us, if you need further assistance.
Regards,
Dhivya.
I am using ej2 pdf viewer to show user a pdf inside of an iframe and using the print module to print said pdf.
A customer reported that 99.x versions of Chrome is printing blank pages when using our web app. I was able to reproduce this issue this ...
Opens the spacebar counter print dialog to print the current document. If the document is still loading when this function is called, then the document will ...
Hi Nora,
Currently, we are checking the reported issue with the provided details. We will check further on this and provide the details on April 5, 2022.
Regards,
Vasugi.
Hi Nora,
We were unable to reproduce the reported issue “Empty print on iframe” with the provided details. We have shared a video and the sample in which we tried to reproduce the issue, which can be downloaded from the below links.
Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/Sample-Iframe-322010266
Video: https://www.syncfusion.com/downloads/support/directtrac/general/ze/Video-Iframe-1715171681
Kindly try this and revert to us with a modified sample and also kindly confirm whether you have faced an issue only with the particular document or even with other documents. If yes, please share the PDF document in which you have reproduced the issue. This will be helpful to investigate further and provide the solution at the earliest.
Regards,
Vasugi.