This sample shows how to print PDF documents to a printer in Windows Forms and WPF applications using Docotic.Pdf library.
The demo app comes in C# and VB.NET versions for Windows Forms and WPF. The app shows the following features:
- Print Preview.
- Print PDF documents to a selected printer.
- Print multiple pages.
- Set up the paper size, the orientation, and other print settings.
This sample code uses free Docotic.Pdf.Gdi add-on for Docotic.Pdf library. In certain environments, it is not recommended to use the add-on. Please read the description for the addon-on for more information.