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 below will open the operating system's print dialog window, enabling the user to specify printing settings (printer, paper size, number of copies, etc.).
To print a PDF document immediately using the default printing settings, choose the printWithoutDialog
method instead of the print
method.
Discover How to Seamlessly Print PDFs in Java with Our Step-by-Step Guide!