Gtk.PrintSettings.prototype.set_resolution_xy

function set_resolution_xy(resolution_x:Number, resolution_y:Number):void {
    // Gjs wrapper for gtk_print_settings_set_resolution_xy()
}

Sets the values of %GTK_PRINT_SETTINGS_RESOLUTION, %GTK_PRINT_SETTINGS_RESOLUTION_X and %GTK_PRINT_SETTINGS_RESOLUTION_Y.

Since 2.16

resolution_x

the horizontal resolution in dpi

resolution_y

the vertical resolution in dpi