Print to Default printer without showing Print Dlg.
Dim Psi As New ProcessStartInfo
Psi.UseShellExecute = True
Psi.Verb = “print”
Psi.WindowStyle = ProcessWindowStyle.Hidden
Psi.FileName = “C:\SimTemp\Test.txt”
Process.Start(Psi)
Print PDF file in VB.Net by giving Printer Name
Here is the solution of printing PDF file by giving printer name
Dim pathToExecutable As String = “AcroRd32.exe”
Dim sReport = “C:Test.PDF” ‘Complete name/path of PDF file
Dim SPrinter = “HP Officejet 5600 seriese” ‘Name Of printer
Dim starter As New ProcessStartInfo(pathToExecutable, “/t “ + sReport + ” “ + sPrinter + “”)
Dim Process As New Process()
