Skip to main content

Multiple PDF Print

Version: 4.0

Printing Multiple PDFs

Printing multiple PDF documents to a printer is accomplished by adding the PDFs to a PrintJob instance's Pages property (PrintJobPageList) using the Add method. This example demonstrates how to send multiple PDF documents to the default printer as a single print job.

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()

[MultiplePages.cs](https://github.com/DynamicPDF/print-manager-dotnet-core/blob/master/print-manager-dotnet-core-cs/MultiplePages.cs){#gitlink-id target=_blank}


[MultiplePages.vb](https://github.com/DynamicPDF/print-manager-dotnet-core/blob/master/print-manager-dotnet-core-vb/MultiplePages.vb){#gitlink-id target=_blank}

info

When you add multiple PDF documents or pages to a single PrintJob, they are combined into one print job and sent to the printer together. The printer processes the combined pages as a single document.

If you need each PDF document to be treated as an independent print job, then you must create a separate PrintJob instance for each document instead of combining them into a single job.

Documentation version