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 toPrinter.ShowPrintDialog. ShowPrintDialogCall: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.

