1 <!-- ##### SECTION Title ##### -->
4 <!-- ##### SECTION Short_Description ##### -->
7 <!-- ##### SECTION Long_Description ##### -->
9 GtkPrintUnixDialog implements a print dialog for platforms
10 which don't provide a native print dialog, like Unix. It can
11 be used very much like any other GTK+ dialog, at the cost of
12 the portability offered by the <link
13 linkend="gtk-High-level-Printing-API">high-level printing API</link>
16 In order to print something with #GtkPrintUnixDialog, you need
17 to use gtk_print_unix_dialog_get_selected_printer() to obtain
18 a #GtkPrinter object and use it to construct a #GtkPrintJob using
22 #GtkPrintUnixDialog uses the following response values:
24 <varlistentry><term>%GTK_RESPONSE_OK</term>
25 <listitem><para>for the "Print" button</para></listitem>
27 <varlistentry><term>%GTK_RESPONSE_APPLY</term>
28 <listitem><para>for the "Preview" button</para></listitem>
30 <varlistentry><term>%GTK_RESPONSE_CANCEL</term>
31 <listitem><para>for the "Cancel" button</para></listitem>
36 <!-- FIXME example here -->
39 Printing support was added in GTK+ 2.10.
42 <!-- ##### SECTION See_Also ##### -->
44 #GtkPageSetupUnixDialog, #GtkPrinter, #GtkPrintJob
47 <!-- ##### SECTION Stability_Level ##### -->
50 <!-- ##### STRUCT GtkPrintUnixDialog ##### -->
56 <!-- ##### ARG GtkPrintUnixDialog:current-page ##### -->
61 <!-- ##### ARG GtkPrintUnixDialog:page-setup ##### -->
66 <!-- ##### ARG GtkPrintUnixDialog:print-settings ##### -->
71 <!-- ##### ARG GtkPrintUnixDialog:selected-printer ##### -->
76 <!-- ##### FUNCTION gtk_print_unix_dialog_new ##### -->
86 <!-- ##### FUNCTION gtk_print_unix_dialog_set_page_setup ##### -->
95 <!-- ##### FUNCTION gtk_print_unix_dialog_get_page_setup ##### -->
104 <!-- ##### FUNCTION gtk_print_unix_dialog_set_current_page ##### -->
113 <!-- ##### FUNCTION gtk_print_unix_dialog_get_current_page ##### -->
122 <!-- ##### FUNCTION gtk_print_unix_dialog_set_settings ##### -->
131 <!-- ##### FUNCTION gtk_print_unix_dialog_get_settings ##### -->
140 <!-- ##### FUNCTION gtk_print_unix_dialog_get_selected_printer ##### -->
149 <!-- ##### FUNCTION gtk_print_unix_dialog_add_custom_tab ##### -->
159 <!-- ##### ENUM GtkPrintCapabilities ##### -->
161 An enum for specifying which features the print dialog should offer.
162 I neither %GTK_PRINT_CAPABILITY_GENERATE_PDF nor %GTK_PRINT_CAPABILITY_GENERATE_PS is
163 specified, GTK+ assumes that all formats are supported.
166 @GTK_PRINT_CAPABILITY_PAGE_SET:
167 @GTK_PRINT_CAPABILITY_COPIES:
168 @GTK_PRINT_CAPABILITY_COLLATE:
169 @GTK_PRINT_CAPABILITY_REVERSE:
170 @GTK_PRINT_CAPABILITY_SCALE:
171 @GTK_PRINT_CAPABILITY_GENERATE_PDF: The program will send the document to the printer in PDF format
172 @GTK_PRINT_CAPABILITY_GENERATE_PS: The program will send the document to the printer in Postscript format
173 @GTK_PRINT_CAPABILITY_PREVIEW:
175 <!-- ##### FUNCTION gtk_print_unix_dialog_set_manual_capabilities ##### -->