Prints a PDF by filename to a printer by printername.
Then full path of the PDF file to print.
The device name of the printer to use for printing the PDF.
Prints a PDF by filename to a printer by printername.
Visual Basic |
---|
Public Sub PrintPDF( _ ByVal FileName As String, _ ByVal PrinterName As String _ ) |
Then full path of the PDF file to print.
The device name of the printer to use for printing the PDF.
You must make sure that both the PDF file and the Printer exist before calling this method.