In version v2015R2, Qoppa added a custom print dialog much more powerful than the default Java print dialog.

This new dialog is set as the default print dialog in jPDFViewer, jPDFNotes, jPDFEditor, jPDFPrint, jPDFProcess.

The new enhanced print dialog includes many new features such Print Preview, Print Current View, Enhanced Page Range Options, and Print to file. Print Preview will allow users to see what the document looks like prior to being printed so that adjustments can be made if necessary. A brief summary and list of new features can be found below.

New Qoppa Print Dialog Features

  • Document Preview: The new print preview panel will include a preview window displaying what the document will look like once printed, navigation buttons allowing you to navigate the preview pages, and document properties showing selected paper and document sizes. Changing printing options will update the preview in real time.
  • Current View: Option allowing you to print only the current view of the document displayed in PDF Studio. For example, this can be useful when needing to print a small bit of a huge technical drawing.
  • Enhanced Page Ranges: “Pages” option allowing a custom range of pages if needed using values separated by commas. For example, to print only pages 2 to 4 & 6 to 12 & 20 of a 30 page document the user would enter “2-4, 6-12, 20”.
  • Print to File: Option to print to a .prn file instead of directly to the printer. This allows you to reprint the document without running or even having the original application that created the file. For example, if you need to send the document to a printing company that only prints on a specific printer.

General Print settings
Options including page ranges, copies, comment, and margin settings.


Paper Settings
Options including paper size, paper tray, and orientation


Advanced Settings
Options including number of sides (short or long edge), chromaticity, and quality.


Turning Off Qoppa Print Dialog

Qoppa’s new Print Dialog is on by default. To revert to the default Java Print Dialog, call:


Setting the print settings depends on the library or the component you are using, look at the use of PrintSettings in the Java API.

Save and Restore the Settings Across Sessions

PrintDefaults is the class is used to store and restore printer defaults across application sessions. The print defaults are only used in the Qoppa print dialog. When a user prints any documents, they might change the printer settings. This class keeps track of the printer settings for all different printers and then provides a method to get current settings in XML format. The host application can then store these settings and then restore them using the same XML string.

// export user print settings
String userPrintSettings = com.qoppa.pdf.PrintDefaults.toXMLString();
// next session, import user print settings
com.qoppa.pdf.PrintDefaults.setFromXML(userPrintSettings );