Displaying Print Preview Dialog

Displaying Print Preview Dialog

Forum member · Mar 23, 2026
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.

Re: Displaying Print Preview Dialog

Support · Mar 24, 2026
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