Interface PrintSettings

All Known Subinterfaces:
PdfPrinter.HtmlSettings, PdfPrinter.PdfSettings, PdfPrinter.Settings<T>, SystemPrinter.HtmlSettings, SystemPrinter.PdfSettings, SystemPrinter.Settings<T>

public interface PrintSettings
A common interface for the concrete print job settings to implement.
Since:
7.13
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Applies the configured print settings.
  • Method Details

    • apply

      void apply()
      Applies the configured print settings. You should call this method to regenerate the internal print preview using the configured settings and update the total page count to be printed.

      This method is invoked automatically when you choose to proceed in the PrintPdfCallback or PrintHtmlCallback.

      Throws:
      IllegalArgumentException - if the browser fails to apply the configured settings.
      ObjectClosedException - if the current printing operation has been completed