Multiple PDF Print

This example demonstrates how to send multiple PDF documents to the default printer as a single print job. It prints to the system's default printer (using the static property Printer.Default). If a printer other than the system default printer is desired, supply the PrintJob constructor with the actual string name of a printer to be used.

PrintJob printJob = new PrintJob(Printer.Default);

printJob.Pages.Add(pdfFilePath_1);
printJob.Pages.Add(pdfFilePath_2);
printJob.Pages.Add(pdfFilePath_3);

printJob.Print();        
Dim MyPrintJob As New PrintJob(Printer.Default)

MyPrintJob.Pages.Add(pdfFilePath_1)
MyPrintJob.Pages.Add(pdfFilePath_2)
MyPrintJob.Pages.Add(pdfFilePath_3)

MyPrintJob.Print()

In this topic