public class DefaultPrintHandler
Default implementation of PrintHandler that displays standard Java Print dialog and
modify default settings with the settings that end user selects in the dialog. From the print
dialog this implementation reads only printer name and update print settings with the selected
printer name. Also this implementation enables backgrounds printing.
If you need to modify this default behavior, then you can create your own implementation of the
PrinterHandler and register it using Browser.setPrintHandler(com.teamdev.jxbrowser.chromium.PrintHandler)
This method is invoked when engine wants to get custom print settings and decide whether it
should continue printing or not. If this method throws an exception, then printing will be
canceled. This method will not block web browser engine. It's invoked asynchronously. You can
display in this method Modal UI Print Dialog to ask user for custom print settings.