Send to a Printer

The featured code example demonstrates IronPDF's document printing capability.

With the print method, developers can make their applications print working PDF documents as part of its processing workflow. Invoking the print method as demonstrated above will open the operating sytem's print dialog window, enabling the user to specify printing settings (printer, paper size, number of copies, etc.). Passing optional paper

To print a PDF document immediately using the default printing settings, choose the printWithoutDialog method in lieu of the print method.