Subversion Repositories Scribus

Rev

Rev 1006 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1006 cbradney 1
<qt>
2
<title>Python: class Printer</title>
3
<h2>Python: class Printer</h2>
1003 subik 4
<p>
1006 cbradney 5
<a name="Printer">class <strong>Printer</strong></a>(<a href="__builtin__.html#object">object</a>)
6
</p>    
7
<hr />
1003 subik 8
 
1006 cbradney 9
<p>Methods defined here:</p>
10
<dd>
11
        <dt><a name="Printer-Print"><strong>Print</strong></a>(...)</dt>
12
        <dd><code>This method is deprecated - use <a href="#Printer-print">print</a>() instead.</code></dd>
1003 subik 13
 
1006 cbradney 14
        <dt><a name="Printer-__init__"><strong>__init__</strong></a>(...)</dt>
15
        <dd><code>x.<a href="#Printer-__init__">__init__</a>(...) initializes x; see x.__class__.__doc__ for signature</code></dd>
1003 subik 16
 
1006 cbradney 17
        <dt><a name="Printer-print"><strong>print</strong></a>(...)</dt>
18
        <dd><code>Prints selected pages.</code></dd>
19
 
1003 subik 20
<hr>
1006 cbradney 21
<p>Data and other attributes defined here:</p>
22
<dd>
23
        <dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;</dt>
24
        <dd><code>T.<a href="#Printer-__new__">__new__</a>(S, ...) -&gt; a new object with type S, a subtype of T</code></dd>
1003 subik 25
 
1006 cbradney 26
        <dt><strong>allPrinters</strong> = &lt;attribute 'allPrinters' of 'Printer' objects&gt;</dt>
27
        <dd><code>List of installed printers  --  read only</code></dd>
1003 subik 28
 
1006 cbradney 29
        <dt><strong>cmd</strong> = &lt;attribute 'cmd' of 'Printer' objects&gt;</dt>
30
        <dd><code>Alternative Printer Command</code></dd>
1003 subik 31
 
1006 cbradney 32
        <dt><strong>color</strong> = &lt;member 'color' of 'Printer' objects&gt;</dt>
33
        <dd><code>Print in color.<br>
1003 subik 34
True - color  --  Default<br>
1006 cbradney 35
False - greyscale</code></dd>
1003 subik 36
 
1006 cbradney 37
        <dt><strong>copies</strong> = &lt;member 'copies' of 'Printer' objects&gt;</dt>
38
        <dd><code>Number of copies</code></dd>
1003 subik 39
 
1006 cbradney 40
        <dt><strong>file</strong> = &lt;attribute 'file' of 'Printer' objects&gt;</dt>
41
        <dd><code>Name of file to print into</code></dd>
1003 subik 42
 
1006 cbradney 43
        <dt><strong>mph</strong> = &lt;member 'mph' of 'Printer' objects&gt;</dt>
44
        <dd><code>Mirror Pages Horizontal<br>
1003 subik 45
True<br>
1006 cbradney 46
False  --  Default</code></dd>
1003 subik 47
 
1006 cbradney 48
        <dt><strong>mpv</strong> = &lt;member 'mpv' of 'Printer' objects&gt;</dt>
49
        <dd><code>Mirror Pages Vertical<br>
1003 subik 50
 True<br>
1006 cbradney 51
False  --  Default</code></dd>
1003 subik 52
 
1006 cbradney 53
        <dt><strong>pages</strong> = &lt;attribute 'pages' of 'Printer' objects&gt;</dt>
54
        <dd><code>List of pages to be printed</code></dd>
1003 subik 55
 
1006 cbradney 56
        <dt><strong>printer</strong> = &lt;attribute 'printer' of 'Printer' objects&gt;</dt>
57
        <dd><code>Name of printer to use.<br>
58
Default is 'File' for printing into file</code></dd>
1003 subik 59
 
1006 cbradney 60
        <dt><strong>pslevel</strong> = &lt;member 'pslevel' of 'Printer' objects&gt;</dt>
61
        <dd><code>PostScript Level<br>
62
Can be 1 or 2 or 3    -- Default is 3.</code></dd>
1003 subik 63
 
1006 cbradney 64
        <dt><strong>separation</strong> = &lt;attribute 'separation' of 'Printer' objects&gt;</dt>
65
        <dd><code>Print separationl<br>
1003 subik 66
         'No'  -- Default<br>
67
         'All'<br>
68
         'Cyan'<br>
69
         'Magenta'<br>
70
         'Yellow'<br>
71
         'Black'<br>
1006 cbradney 72
Beware of misspelling because a check is not performed</code></dd>
1003 subik 73
 
1006 cbradney 74
        <dt><strong>ucr</strong> = &lt;member 'ucr' of 'Printer' objects&gt;</dt>
75
        <dd><code>Apply Under Color Removal<br>
1003 subik 76
True  --  Default<br>
1006 cbradney 77
False</code></dd>
1003 subik 78
 
1006 cbradney 79
        <dt><strong>useICC</strong> = &lt;member 'useICC' of 'Printer' objects&gt;</dt>
80
        <dd><code>Use ICC Profile<br>
1003 subik 81
True<br>
1006 cbradney 82
False  --  Default</code></dd>
1003 subik 83
 
1006 cbradney 84
</qt>