Skip to main content

Print PDF

Version: 4.0

Printing PDFs

Printing is a breeze when using DynamicPDF PrintManager for .NET. The following C# example illustrates.

Watch the Video​

YouTube thumbnail: Watch video: How to Print a PDF in .NETWatch video: How to Print a PDF in .NET

How to Print PDF to a Printer​

Download the NuGet package and GitHub project to get started. The following steps illustrates printing a PDF document to a printer.

Steps for Printing a PDF​

  1. Create a PrintJob object by specifying the printer name (or specify default printer) and the PDF document path.
  2. Print the job by calling Print method of the PrintJob.

Sample Code - C#​

PrintJob printJob = new PrintJob(Printer.Default, "doc-a.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.

View source on GitHub: DynamicPDF PrintManager Examples

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.

Get ceTe.DynamicPDF.Printing.NET from NuGet

DynamicPDF PrintManager Information​

More information can be found here:

Documentation version