Displaying Print Preview Dialog

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF PrintManager for .NET (v4)  /  Displaying Print Preview Dialog

DynamicPDF PrintManager for .NET (v4) Forum

 Mar 23 2026 2:07 PM
Hello,

I am trying to print a pdf file with the default Windows Print Preview window, but I did not find any options the preview window.
Would you let me know if this is possible?
This is my sample code on .NET Winforms app (ceTe.DynamicPDF.Printing.NET v4.25.0):
            try
            {
                var printJob = new PrintJob(Printer.Default, @"C:\temp\abc.pdf");
                printJob.Print();
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
Thank you in advance.
 Mar 24 2026 3:38 AM
Posted by a ceTe Software moderator
Hi,

The DynamicPDF PrintManager product allows you to print PDFs onto a specified printer. You can  dynamically send PDFs for printing to a specific printer.

There is no option to get a print preview in our DynamicPDF PrintManager.

You can use DynamicPDF Viewer control which can be added on to a WindowsForm. You can dynamically open the PDF in DynamicPDF Viewer control. Please refer to the documentation on using viewer control [^a|https://www.dynamicpdf.com/docs/dotnet/pdf-viewer-simple-example|opennewwindow|here^] 

Feel free to download fully functional evaluation edition of DynamicPDF Viewer for .NET from NuGet(Package ID:ceTe.DynamicPDF.Viewer.NET) or from our website(Download Info) [^a|https://www.dynamicpdf.com/View-PDF-.NET.aspx|opennewwindow|here^]

Thanks,
ceTe Software Support Team

All times are US Eastern Standard time. The time now is 7:25 AM.