How to perform silent printing in PDF viewer for ASP.NET MVC (Classic)?
PDF viewer for ASP.NET MVC (classic) does not support silent printing the PDF document to the default printer. However, we can achieve this by a workaround using PdfViewer.Windows.dll.
Please, refer the below code snippet to print the PDF document silently to the default printer
Run the sample, browse the file you need to print and click the print button. The document will be printed in the default printer.
This page will automatically be redirected to the sign-in page in 10 seconds.