Print multiple PDFs
Printing multiple PDF documents using DynamicPDF PrintManager for .NET is easy, the following C# example shows you how.
How to Print Multiple PDF Documents
Below are the steps and C# sample code to print multiple PDF documents using DynamicPDF PrintManager for .NET.
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();
GitHub Project
Examples are provided in C# and VB.NET. Clone or view the example project at GitHub. This example contained on this page are in the following files.
- C# - MultiplePages.cs
- VB.NET - MultiplePages.vb
Getting Started
Get started easily by installing DynamicPDF PrintManager for .NET through NuGet or manually. Then, refer to the documentation for more information on using and purchasing.
NuGet Package
The easiest way to install DynamicPDF Rasterizer for .NET is by obtaining the NuGet package using Visual Studio's Package Manager. You can also obtain the NuGet package by downloading it directly. Refer to the installation documentation for more information.
DynamicPDF PrintManager Information
More information can be found here: