Ok! What you tell is what I want.
And this is what I actually do:
all VB.NET
Code:
pdfRenderer.PdfDocument.Save(filename)
Process.Start(filename)
And I tried this and this works, but after printing the Adobe Icon stays in the task bar, which is not very nice. Is there a better way?
Code:
...
pdfRenderer.PdfDocument.Save(filename)
Print_Document(filename)
...
Private Sub Print_Document(ByVal strDocpath As String)
Dim p As New Process
p.StartInfo.FileName = strDocpath
p.StartInfo.Verb = "print"
p.StartInfo.CreateNoWindow = True
p.Start()
End Sub