WebKit2.PrintOperation.prototype.set_page_setup

function set_page_setup(page_setup: Gtk.PageSetup): void {
    // Gjs wrapper for webkit_print_operation_set_page_setup()
}
  

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

page_setup

a Gtk.PageSetup to set