Print multiple PDFs (.NET Core/Framework)
Printing multiple PDF documents using DynamicPDF Print Mangaer is simple and easy. All the necessary PDF documents are added to the print job queue and printed.
How to print multiple PDF documents in C#
Below are the steps and sample code to print multiple PDF documents using the Print Manager product.
Steps for printing multiple PDF documents
- Create a
PrintJob
object with printer. - Add three pages to print job with each page holding a PDF document.
- Print using the
PrintJob
object.
Sample Code - C#
PrintJob printJob = new PrintJob(Printer.Default);
printJob.Pages.Add("DocumentA.pdf");
printJob.Pages.Add("DocumentB.pdf");
printJob.Pages.Add("DocumentC.pdf");
printJob.Print();
Getting Started
NuGet Package
DynamicPDF PrintManager is available on NuGet and is part of the ceTe.DynamicPDF.Printing.NET
package.
NuGet Package ID: ceTe.DynamicPDF.Printing.NET
Example Project
An example project showing this functionality can be cloned or viewed from GitHub:
Clone or View Example Project on GitHub
DynamicPDF PrintManager Information
More information can be found here: