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 supportedmethod
get_surface
: Return type cairo.Surface is unsupportedparameter
ranges
: PageRangemethod
page-setup
: Property has no getter nor setter
Constructors
Properties
Functions
Emitted when the status of a job changes.
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 the GtkPrinter
of the print job.
Gets whether this job is printed reversed.
Gets the GtkPrintSettings
of the print job.
Gets the status of the print job.
Returns whether jobs will be tracked after printing.
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.
If track_status is true, the print job will try to continue report on the status of the print job in the printer queues and printer.