Next: GtkPrintUnixDialog, Previous: GtkPrinter, Up: Top
Represents a print job
A <gtk-print-job>
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>
API.
Use gtk-print-job-get-surface
to obtain the cairo surface onto which the
pages must be drawn. Use gtk-print-job-send
to send the finished job to
the printer. If you don't use cairo <gtk-print-job>
also supports
printing of manually generated postscript, via
gtk-print-job-set-source-file
.
Printing support was added in GTK+ 2.10.