A gtk.print_job.PrintJob 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 gtk.print_unix_dialog.PrintUnixDialog API.
Use gtk.print_job.PrintJob.getSurface to obtain the cairo surface onto which the pages must be drawn. Use gtk.print_job.PrintJob.send to send the finished job to the printer. If you don’t use cairo gtk.print_job.PrintJob also supports printing of manually generated PostScript, via gtk.print_job.PrintJob.setSourceFile.
A gtk.print_job.PrintJob 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 gtk.print_unix_dialog.PrintUnixDialog API.
Use gtk.print_job.PrintJob.getSurface to obtain the cairo surface onto which the pages must be drawn. Use gtk.print_job.PrintJob.send to send the finished job to the printer. If you don’t use cairo gtk.print_job.PrintJob also supports printing of manually generated PostScript, via gtk.print_job.PrintJob.setSourceFile.