Hello everyone, How would I go about printing PDF documents? I have all the paths to the pdf files I want to print in an Array declared as "ArrayPDF"
Here is what I have so far:
code:
Private Sub print_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles print.Click
PrintDialog1.Document = PrintDocument1
PrintDialog1.ShowDialog()
Dim r As DialogResult = PrintDialog1.ShowDialog
If r = DialogResult.OK Then
PrintDocument1.Print()
End If
End Sub
So what this does is just show the print dialog screen. How would I tell the printer to print those pdf files? Thanks


Reply With Quote
