1 <!-- ##### SECTION Title ##### -->
4 <!-- ##### SECTION Short_Description ##### -->
7 <!-- ##### SECTION Long_Description ##### -->
9 A #GtkPrintJob object represents a job that is sent to a
10 printer. You only need to deal directly with print jobs if
11 you use the non-portable #GtkPrintUnixDialog API.
14 Use gtk_print_job_get_surface() to obtain the cairo surface
15 onto which the pages must be drawn. Use gtk_print_job_send()
16 to send the finished job to the printer. If you don't use cairo
17 #GtkPrintJob also supports printing of manually generated postscript,
18 via gtk_print_job_set_source_file().
19 <!-- FIXME more details needed here -->
21 <!-- FIXME examples ? -->
24 Printing support was added in GTK+ 2.10.
27 <!-- ##### SECTION See_Also ##### -->
32 <!-- ##### SECTION Stability_Level ##### -->
35 <!-- ##### SECTION Image ##### -->
38 <!-- ##### STRUCT GtkPrintJob ##### -->
40 The GtkPrintJob struct contains only private members
41 and should not be directly accessed.
45 <!-- ##### SIGNAL GtkPrintJob::status-changed ##### -->
50 @printjob: the object which received the signal.
52 <!-- ##### ARG GtkPrintJob:page-setup ##### -->
57 <!-- ##### ARG GtkPrintJob:printer ##### -->
62 <!-- ##### ARG GtkPrintJob:settings ##### -->
67 <!-- ##### ARG GtkPrintJob:title ##### -->
72 <!-- ##### ARG GtkPrintJob:track-print-status ##### -->
77 <!-- ##### USER_FUNCTION GtkPrintJobCompleteFunc ##### -->
79 The type of callback that is passed to gtk_print_job_send().
80 It is called when the print job has been completely sent.
83 @print_job: the #GtkPrintJob
84 @user_data: user data that has been passed to gtk_print_job_send()
85 @error: a #GError that contains error information if the sending
86 of the print job failed, otherwise %NULL
89 <!-- ##### FUNCTION gtk_print_job_new ##### -->
101 <!-- ##### FUNCTION gtk_print_job_get_settings ##### -->
110 <!-- ##### FUNCTION gtk_print_job_get_printer ##### -->
119 <!-- ##### FUNCTION gtk_print_job_get_title ##### -->
128 <!-- ##### FUNCTION gtk_print_job_get_status ##### -->
137 <!-- ##### FUNCTION gtk_print_job_set_source_file ##### -->
148 <!-- ##### FUNCTION gtk_print_job_get_surface ##### -->
158 <!-- ##### FUNCTION gtk_print_job_send ##### -->
169 <!-- ##### FUNCTION gtk_print_job_set_track_print_status ##### -->
178 <!-- ##### FUNCTION gtk_print_job_get_track_print_status ##### -->