PDFViewer Print didn’t work in Chrome

I found that the PDFViewer Print didn’t work in Chrome, and my Chrome version is 93.0.4577.82.

However, it did work with same coding in Edge.

It has same problem encountered even I used the Demo sample.

https://ej2.syncfusion.com/angular/demos/#/material/pdfviewer/default

Chrome (Not Work)


Edge (Normal)



1 Reply

DM Dhivyabharathi Mohan Syncfusion Team September 16, 2021 03:25 PM UTC

Hi Techlandandyzhang, 
 
 
Thank you for contacting Syncfusion support. 
 
 
We have checked with the provided online demo for printing the document. We were unable to reproduce the reported issue with the online demo in the Chrome browser. We have shared the screenshot of the printing document and the version of the Chrome browser. We suspect that you have used third-party extensions (like Grammarly, etc.) in the Chrome Browser. So, that the print is restricted in the Chrome. 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. 
 
 
 
Code snippet: 
 
 <ejs-pdfviewer 
      id="pdfViewer" 
      [serviceUrl]="service" 
      [documentPath]="document" 
      [printMode]="printMode" 
      style="height:640px;display:block" 
    ></ejs-pdfviewer> 
 
 
public printMode = 'printMode.NewWindow'; 
 
 
 
Screenshot while printing the document: 
 
 
 
 
Screenshot of the Chrome Browser version: 
 
 
 
 
Kindly try this and revert us, if you have any concerns. 
 
 
Regards, 
Dhivya.  


Loader.
Up arrow icon