Print with Dialog

Use the ShowPrintDialog method to display the settings dialog before printing the document. This can be handy for presenting GUI print settings.

Here's an example in C#:

Explanation

  • File Reference: The path to the PDF file to be printed (newDoc.pdf) is passed directly to Printer.ShowPrintDialog.

  • ShowPrintDialog Call: Printer.ShowPrintDialog("newDoc.pdf") opens the native operating system print dialog synchronously, letting the user choose a printer and adjust settings such as paper size or number of copies.

  • Dispatching the Job: Once the user confirms the dialog, IronPrint sends the document to the selected printer automatically — no further code is required.

Explore more on customizing print settings with IronPrint.

Ready to Get Started?
Nuget Downloads 44,162 | Version: 2026.7 just released
Still Scrolling Icon

Still Scrolling?

Want proof fast? PM > Install-Package IronPrint
run a sample watch your document hit the printer.