Print a GcPdfDocument on a Windows system using Direct2D. This sample uses GcD2DBitmap and GcD2DGraphics classes included in the GrapeCity.Documents.Imaging.Windows package. When run from the demo browser, this sample just generates and returns a simple PDF. To actually print it or another PDF on your Windows system printer, download the sample, edit the condition in the code so that it actually calls the GcPdfPrintManager.Print() method, and run the sample. The utility classes included in this sample C# sources may be copied and used as is in your own applications to print GcPdfDocument instances on Windows.

DsPdf is compatible with .NET 6 or later, .NET Core 2.0 or later, .NET Standard 2.x, .NET Framework 4.6.1 or later. All features are supported on Windows, macOS and Linux.