WebKit2.PrintOperation.prototype.set_print_settings

function set_print_settings(print_settings: Gtk.PrintSettings): void {
    // Gjs wrapper for webkit_print_operation_set_print_settings()
}
  

Set the current print settings of print_operation. Current print settings are used for the initial values of the print dialog when WebKit2.PrintOperation.prototype.run_dialog is called.

print_settings

a Gtk.PrintSettings to set