Active1 year, 8 months ago
Mar 22, 2016 KINDLY, help me by VB.net code to print a given path PDF file without any poping up windows, I mean a hidden/Silent printing using the default selected printer. Given that the Adobe Reader is installed on the PC. VB.NET PDF - Print PDF Document in VB.NET. VB.NET PDF Document SDK for PDF Printing in Visual Basic.NET Program. Look for HTML5 PDF Editor? EdgePDF: ASP.NET PDF Editor is the best HTML5 PDF Editor and ASP.NET PDF Viewer based on XDoc.PDF, JQuery, HTML5. It supports ASP.NET MVC and WebForms projects.
I have to select a printer and print a PDF file.here i used, this code prints ONLY in the default printer.. i tired for searching and didn't find a solution.
i had done another part to find the printers in dropdown listthis code to find printer
Is there any Suggestions?Thanks.
Mafas DeenMafas Deen
1 Answer
Try this,
I have added a web browser control in form.add file file name of your pdf filename as follows:
WebBrowser1.naviagte(YourFileName)
Try WebBrowser1.Print() Catch ex As Exception MsgBox(ex.Message) End Try
While Doing this your app show print dialog with inbuilt option with which printer to you need to print.
Rajaram1991Rajaram1991