set_source_file


Description:

public bool set_source_file (string filename) throws Error

Make the `GtkPrintJob` send an existing document to the printing system.

The file can be in any format understood by the platforms printing system (typically PostScript, but on many platforms PDF may work too). See [method@Gtk.Printer.accepts_pdf] and [method@Gtk.Printer.accepts_ps].

Parameters:

this

a `GtkPrintJob`

filename

the file to be printed

Returns:

false if an error occurred