/usr/share/gtk-doc/html/pygtk/class-gtkprintunixdialog.html is in python-gtk2-doc 2.24.0-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtkunixprint.PrintUnixDialog</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="PyGTK 2.0 Reference Manual"><link rel="up" href="unixprint-class-reference.html" title="The gtkunixprint Class Reference"><link rel="prev" href="class-gtkprintjob.html" title="gtkunixprint.PrintJob"><link rel="next" href="unixprint-functions.html" title="gtkunixprint Functions"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">gtkunixprint.PrintUnixDialog</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtkprintjob.html">Prev</a> </td><th width="60%" align="center">The gtkunixprint Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="unixprint-functions.html">Next</a></td></tr></table><hr></div><div class="refentry" title="gtkunixprint.PrintUnixDialog"><a name="class-gtkprintunixdialog"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtkunixprint.PrintUnixDialog</h2><p>gtkunixprint.PrintUnixDialog — an dialog for selecting a printer in Unix (new in PyGTK
2.10)</p></div><div class="refsect1" title="Synopsis"><a name="id2891663"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtkunixprint.PrintUnixDialog</span></span>(<span class="ooclass"><span class="classname"><a class="link" href="class-gtkdialog.html" title="gtk.Dialog">gtk.Dialog</a></span></span>):
<code class="constructorsynopsis"> <span class="methodname"><a class="link" href="class-gtkprintunixdialog.html#constructor-gtkprintunixdialog" title="gtkunixprint.PrintUnixDialog">gtkunixprint.PrintUnixDialog</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>title</code></strong></span><span class="initializer">=None</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>parent</code></strong></span><span class="initializer">=None</span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkprintunixdialog.html#method-gtkprintunixdialog--set-page-setup" title="gtkunixprint.PrintUnixDialog.set_page_setup">set_page_setup</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>page_setup</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkprintunixdialog.html#method-gtkprintunixdialog--get-page-setup" title="gtkunixprint.PrintUnixDialog.get_page_setup">get_page_setup</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkprintunixdialog.html#method-gtkprintunixdialog--set-current-page" title="gtkunixprint.PrintUnixDialog.set_current_page">set_current_page</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>current_page</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkprintunixdialog.html#method-gtkprintunixdialog--get-current-page" title="gtkunixprint.PrintUnixDialog.get_current_page">get_current_page</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkprintunixdialog.html#method-gtkprintunixdialog--set-settings" title="gtkunixprint.PrintUnixDialog.set_settings">set_settings</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>settings</code></strong></span><span class="initializer">=None</span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkprintunixdialog.html#method-gtkprintunixdialog--get-settings" title="gtkunixprint.PrintUnixDialog.get_settings">get_settings</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkprintunixdialog.html#method-gtkprintunixdialog--get-selected-printer" title="gtkunixprint.PrintUnixDialog.get_selected_printer">get_selected_printer</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkprintunixdialog.html#method-gtkprintunixdialog--add-custom-tab" title="gtkunixprint.PrintUnixDialog.add_custom_tab">add_custom_tab</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>child</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>tab_label</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkprintunixdialog.html#method-gtkprintunixdialog--set-manual-capabilities" title="gtkunixprint.PrintUnixDialog.set_manual_capabilities">set_manual_capabilities</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>capabilities</code></strong></span></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Ancestry"><a name="id2940874"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
+-- <a class="link" href="class-gtkobject.html" title="gtk.Object">gtk.Object</a>
+-- <a class="link" href="class-gtkwidget.html" title="gtk.Widget">gtk.Widget</a>
+-- <a class="link" href="class-gtkcontainer.html" title="gtk.Container">gtk.Container</a>
+-- <a class="link" href="class-gtkbin.html" title="gtk.Bin">gtk.Bin</a>
+-- <a class="link" href="class-gtkwindow.html" title="gtk.Window">gtk.Window</a>
+-- <a class="link" href="class-gtkdialog.html" title="gtk.Dialog">gtk.Dialog</a>
+-- <a class="link" href="class-gtkprintunixdialog.html" title="gtkunixprint.PrintUnixDialog">gtkunixprint.PrintUnixDialog</a>
</pre></div><div class="refsect1" title="Implemented Interfaces"><a name="id3176015"></a><h2>Implemented Interfaces</h2><p>
<a class="link" href="class-gtkprintunixdialog.html" title="gtkunixprint.PrintUnixDialog"><code class="classname">gtk.PrintUnixDialog</code></a>
implements
<a class="link" href="class-gtkbuildable.html" title="gtk.Buildable"><code class="classname">gtk.Buildable</code></a>
</p></div><div class="refsect1" title="gtkunixprint.PrintUnixDialog Properties"><a name="properties-gtkprintunixdialog"></a><h2>gtkunixprint.PrintUnixDialog Properties</h2><p><a class="link" href="class-gtkobject.html#properties-gtkobject" title="gtk.Object Properties">gtk.Object Properties</a></p><p><a class="link" href="class-gtkwidget.html#properties-gtkwidget" title="gtk.Widget Properties">gtk.Widget Properties</a></p><p><a class="link" href="class-gtkcontainer.html#properties-gtkcontainer" title="gtk.Container Properties">gtk.Container Properties</a></p><p><a class="link" href="class-gtkwindow.html#properties-gtkwindow" title="gtk.Window Properties">gtk.Window Properties</a></p><p><a class="link" href="class-gtkdialog.html#properties-gtkdialog" title="gtk.Dialog Properties">gtk.Dialog Properties</a></p><div class="blockquote"><table width="100%" border="0" bgcolor="#E0E0E0"><tr><td valign="top"><div class="informaltable"><table width="100%" border="0"><colgroup><col width="1in"><col width="1in"><col width="4in"></colgroup><tbody><tr valign="top"><td valign="top">"current-page"</td><td valign="top">Read-Write</td><td valign="top">The current page in the document. Allowed values: >=
-1. Default value: -1. Available in GTK+ 2.10.</td></tr><tr valign="top"><td valign="top">"page-setup"</td><td valign="top">Read-Write</td><td valign="top">The <a class="link" href="class-gtkpagesetup.html" title="gtk.PageSetup"><code class="classname">gtk.PageSetup</code></a>
to use. Available in GTK+ 2.10.</td></tr><tr valign="top"><td valign="top">"print-settings"</td><td valign="top">Read-Write</td><td valign="top">The <a class="link" href="class-gtkprintsettings.html" title="gtk.PrintSettings"><code class="classname">gtk.PrintSettings</code></a>
used for initializing the dialog. Available in GTK+
2.10.</td></tr><tr valign="top"><td valign="top">"selected-printer"</td><td valign="top">Read-Write</td><td valign="top">The <a class="link" href="class-gtkprinter.html" title="gtkunixprint.Printer"><code class="classname">gtkunixprint.Printer</code></a>
that is selected. Available in GTK+ 2.10.</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" title="gtkunixprint.PrintUnixDialog Style Properties"><a name="style-properties-gtkprintunixdialog"></a><h2>gtkunixprint.PrintUnixDialog Style Properties</h2><p><a class="link" href="class-gtkwidget.html#style-properties-gtkwidget" title="gtk.Widget Style Properties">gtk.Widget Style Properties</a></p><p><a class="link" href="class-gtkdialog.html#style-properties-gtkdialog" title="gtk.Dialog Style Properties">gtk.Dialog Style Properties</a></p></div><div class="refsect1" title="gtkunixprint.PrintUnixDialog Signal Prototypes"><a name="signal-prototypes-gtkprintunixdialog"></a><h2>gtkunixprint.PrintUnixDialog Signal Prototypes</h2><p><PYGTKDOCLINK HREF="signal-prototypes-gobject">gobject.GObject Signal Prototypes</PYGTKDOCLINK></p><p><a class="link" href="class-gtkobject.html#signal-prototypes-gtkobject" title="gtk.Object Signal Prototypes">gtk.Object Signal Prototypes</a></p><p><a class="link" href="class-gtkwidget.html#signal-prototypes-gtkwidget" title="gtk.Widget Signal Prototypes">gtk.Widget Signal Prototypes</a></p><p><a class="link" href="class-gtkcontainer.html#signal-prototypes-gtkcontainer" title="gtk.Container Signal Prototypes">gtk.Container Signal Prototypes</a></p><p><a class="link" href="class-gtkwindow.html#signal-prototypes-gtkwindow" title="gtk.Window Signal Prototypes">gtk.Window Signal Prototypes</a></p><p><a class="link" href="class-gtkdialog.html#signal-prototypes-gtkdialog" title="gtk.Dialog Signal Prototypes">gtk.Dialog Signal Prototypes</a></p></div><div class="refsect1" title="Description"><a name="id3079157"></a><h2>Description</h2><p></p></div><div class="refsect1" title="Constructor"><a name="id3149234"></a><h2>Constructor</h2><div class="refsect2" title="gtkunixprint.PrintUnixDialog"><a name="constructor-gtkprintunixdialog"></a><h3>gtkunixprint.PrintUnixDialog</h3><pre class="programlisting"><code class="constructorsynopsis"> <span class="methodname">gtkunixprint.PrintUnixDialog</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>title</code></strong></span><span class="initializer">=None</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>parent</code></strong></span><span class="initializer">=None</span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>title</code></strong> :</span></p></td><td>The title of the dialog, or
<code class="literal">None</code></td></tr><tr><td><p><span class="term"><strong class="parameter"><code>parent</code></strong> :</span></p></td><td>The transient parent of the dialog, or
<code class="literal">None</code></td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a new <a class="link" href="class-gtkprintunixdialog.html" title="gtkunixprint.PrintUnixDialog"><code class="classname">gtkunixprint.PrintUnixDialog</code></a></td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This constructor is available in PyGTK 2.10 and above.</p></div><p>Creates a new <a class="link" href="class-gtkprintunixdialog.html" title="gtkunixprint.PrintUnixDialog"><code class="classname">gtkunixprint.PrintUnixDialog</code></a>.</p></div></div><div class="refsect1" title="Methods"><a name="id3420611"></a><h2>Methods</h2><div class="refsect2" title="gtkunixprint.PrintUnixDialog.set_page_setup"><a name="method-gtkprintunixdialog--set-page-setup"></a><h3>gtkunixprint.PrintUnixDialog.set_page_setup</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">set_page_setup</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>page_setup</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>page_setup</code></strong> :</span></p></td><td>a <a class="link" href="class-gtkpagesetup.html" title="gtk.PageSetup"><code class="classname">gtk.PageSetup</code></a></td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>The <code class="methodname">set_page_setup</code>() method sets the
"page-setup" property to the <a class="link" href="class-gtkpagesetup.html" title="gtk.PageSetup"><code class="classname">gtk.PageSetup</code></a>
specified by <em class="parameter"><code>page_setup</code></em>.</p></div><div class="refsect2" title="gtkunixprint.PrintUnixDialog.get_page_setup"><a name="method-gtkprintunixdialog--get-page-setup"></a><h3>gtkunixprint.PrintUnixDialog.get_page_setup</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_page_setup</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the page setup of the
dialog.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>The <code class="methodname">get_page_setup</code>() method returns the
<a class="link" href="class-gtkpagesetup.html" title="gtk.PageSetup"><code class="classname">gtk.PageSetup</code></a>
that is used by the <a class="link" href="class-gtkprintunixdialog.html" title="gtkunixprint.PrintUnixDialog"><code class="classname">gtkunixprint.PrintUnixDialog</code></a>.</p></div><div class="refsect2" title="gtkunixprint.PrintUnixDialog.set_current_page"><a name="method-gtkprintunixdialog--set-current-page"></a><h3>gtkunixprint.PrintUnixDialog.set_current_page</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">set_current_page</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>current_page</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>current_page</code></strong> :</span></p></td><td>the current page number.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>The <code class="methodname">set_current_page</code>() method sets the
"current-page" property ot the value specified by
<em class="parameter"><code>current_page</code></em>. If
<em class="parameter"><code>current_page</code></em> is not -1 (the default value), the
current page choice for the range of pages to print is enabled.</p></div><div class="refsect2" title="gtkunixprint.PrintUnixDialog.get_current_page"><a name="method-gtkprintunixdialog--get-current-page"></a><h3>gtkunixprint.PrintUnixDialog.get_current_page</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_current_page</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the current page of the dialog</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>The <code class="methodname">get_current_page</code>() method returns
the current page of the <a class="link" href="class-gtkprintunixdialog.html" title="gtkunixprint.PrintUnixDialog"><code class="classname">gtkunixprint.PrintUnixDialog</code></a>.</p></div><div class="refsect2" title="gtkunixprint.PrintUnixDialog.set_settings"><a name="method-gtkprintunixdialog--set-settings"></a><h3>gtkunixprint.PrintUnixDialog.set_settings</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">set_settings</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>settings</code></strong></span><span class="initializer">=None</span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>settings</code></strong> :</span></p></td><td>a <a class="link" href="class-gtkprintsettings.html" title="gtk.PrintSettings"><code class="classname">gtk.PrintSettings</code></a>,
or <code class="literal">None</code></td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>The <code class="methodname">set_settings</code>() method sets the
<a class="link" href="class-gtkprintsettings.html" title="gtk.PrintSettings"><code class="classname">gtk.PrintSettings</code></a>
for the <a class="link" href="class-gtkprintunixdialog.html" title="gtkunixprint.PrintUnixDialog"><code class="classname">gtkunixprint.PrintUnixDialog</code></a>. Typically,
this is used to restore saved print settings from a previous print
operation before the print dialog is shown.</p></div><div class="refsect2" title="gtkunixprint.PrintUnixDialog.get_settings"><a name="method-gtkprintunixdialog--get-settings"></a><h3>gtkunixprint.PrintUnixDialog.get_settings</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_settings</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a new <a class="link" href="class-gtkprintsettings.html" title="gtk.PrintSettings"><code class="classname">gtk.PrintSettings</code></a>
object with the values from the dialog</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>The <code class="methodname">get_settings</code>() method returns a new
<a class="link" href="class-gtkprintsettings.html" title="gtk.PrintSettings"><code class="classname">gtk.PrintSettings</code></a>
object that represents the current values in the print dialog.</p></div><div class="refsect2" title="gtkunixprint.PrintUnixDialog.get_selected_printer"><a name="method-gtkprintunixdialog--get-selected-printer"></a><h3>gtkunixprint.PrintUnixDialog.get_selected_printer</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_selected_printer</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the currently selected
printer</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>The <code class="methodname">get_selected_printer</code>() method
returns the currently selected <a class="link" href="class-gtkprinter.html" title="gtkunixprint.Printer"><code class="classname">gtkunixprint.Printer</code></a>.</p></div><div class="refsect2" title="gtkunixprint.PrintUnixDialog.add_custom_tab"><a name="method-gtkprintunixdialog--add-custom-tab"></a><h3>gtkunixprint.PrintUnixDialog.add_custom_tab</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">add_custom_tab</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>child</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>tab_label</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>child</code></strong> :</span></p></td><td>a <a class="link" href="class-gtkwidget.html" title="gtk.Widget"><code class="classname">gtk.Widget</code></a></td></tr><tr><td><p><span class="term"><strong class="parameter"><code>tab_label</code></strong> :</span></p></td><td>a <a class="link" href="class-gtkwidget.html" title="gtk.Widget"><code class="classname">gtk.Widget</code></a></td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>The <code class="methodname">add_custom_tab</code>() method adds a tab
to the dialog using the <a class="link" href="class-gtkwidget.html" title="gtk.Widget"><code class="classname">gtk.Widget</code></a>
specified by <em class="parameter"><code>child</code></em> for the contents and
<em class="parameter"><code>tab_label</code></em> for the label.</p></div><div class="refsect2" title="gtkunixprint.PrintUnixDialog.set_manual_capabilities"><a name="method-gtkprintunixdialog--set-manual-capabilities"></a><h3>gtkunixprint.PrintUnixDialog.set_manual_capabilities</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">set_manual_capabilities</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>capabilities</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>capabilities</code></strong> :</span></p></td><td>one of the <a class="xref" href="unixprint-constants.html#unixprint-print-capabilities-constants" title="Unixprint Print Capabilities Flag Constants">Unixprint Print Capabilities Flag Constants</a></td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.10 and above.</p></div><p>The <code class="methodname">set_manual_capabilities</code>() method
lets you specify the printing capabilities your application supports
using the <a class="xref" href="unixprint-constants.html#unixprint-print-capabilities-constants" title="Unixprint Print Capabilities Flag Constants">Unixprint Print Capabilities Flag Constants</a> specified by
<em class="parameter"><code>capabilities</code></em>. For example, if the application
can handle scaling the output then it should pass
<code class="literal">gtkunixprint.PRINT_CAPABILITY_SCALE</code>. If it doesn't
pass that, the dialog will only let you select the scale if the
printing system automatically handles scaling.</p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="class-gtkprintjob.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="unixprint-class-reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="unixprint-functions.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">gtkunixprint.PrintJob </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> gtkunixprint Functions</td></tr></table></div></body></html>
|