PrintJob
A GtkPrintJob
object represents a job that is sent to a printer.
You only need to deal directly with print jobs if you use the non-portable class@Gtk.PrintUnixDialog API.
Use method@Gtk.PrintJob.get_surface to obtain the cairo surface onto which the pages must be drawn. Use method@Gtk.PrintJob.send to send the finished job to the printer. If you don’t use cairo GtkPrintJob
also supports printing of manually generated PostScript, via method@Gtk.PrintJob.set_source_file.
Skipped during bindings generation
parameter
n_ranges
: n_ranges: Out parameter is not supportedparameter
ranges
: Array parameter of type PageRange is not supportedmethod
page-setup
: Property has no getter nor setter
Constructors
Properties
Functions
Emits the "status-changed" signal. See onStatusChanged.
Gets whether this job is printed collated.
Gets the number of copies of this job.
Gets the n-up layout setting for this job.
Gets the GtkPrintPages
setting for this job.
Gets the GtkPageSet
setting for this job.
Gets whether this job is printed reversed.
Gets the status of the print job.
Gets a cairo surface onto which the pages of the print job should be rendered.
Emitted when the status of a job changes.
Sends the print job off to the printer.
Sets whether this job is printed collated.
Sets the number of copies for this job.
Sets the n-up layout setting for this job.
Sets the GtkPrintPages
setting for this job.
Sets the GtkPageSet
setting for this job.
Sets whether this job is printed reversed.
Make the GtkPrintJob
send an existing document to the printing system.
Make the GtkPrintJob
send an existing document to the printing system.