File: scripterapi-Printer.html

package info (click to toggle)
scribus-doc 1.5.6.1%2Bdfsg-1
  • links: PTS, VCS
  • area: non-free
  • in suites: bullseye
  • size: 59,640 kB
  • sloc: xml: 767; python: 157; makefile: 14
file content (99 lines) | stat: -rw-r--r-- 3,350 bytes parent folder | download | duplicates (4)
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
	<title>Python: class Printer</title>
</head>

<style>
@import "manual.css";
</style>

<body>
<h2>Python: class Printer</h2>
<p>
<a name="Printer">class <strong>Printer</strong></a>(<a href="__builtin__.html#object">object</a>)
</p>    
<hr />

<p>Methods defined here:</p>
<dl>
	<dt><a name="Printer-Print"><strong>Print</strong></a>(...)</dt>
	<dd><p>This method is deprecated - use <a href="#Printer-print">print</a>() instead.</p></dd>

	<dt><a name="Printer-__init__"><strong>__init__</strong></a>(...)</dt>
	<dd><p>x.<a href="#Printer-__init__">__init__</a>(...) initializes x; see x.__class__.__doc__ for signature</p></dd>

	<dt><a name="Printer-print"><strong>print</strong></a>(...)</dt>
	<dd><p>Prints selected pages.</p></dd>
</dl>

<hr/>

<p>Data and other attributes defined here:</p>
<dl>
	<dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;</dt>
	<dd><p>T.<a href="#Printer-__new__">__new__</a>(S, ...) -&gt; a new object with type S, a subtype of T</p></dd>

	<dt><strong>allPrinters</strong> = &lt;attribute 'allPrinters' of 'Printer' objects&gt;</dt>
	<dd><p>List of installed printers  --  read only</p></dd>

	<dt><strong>cmd</strong> = &lt;attribute 'cmd' of 'Printer' objects&gt;</dt>
	<dd><p>Alternative Printer Command</p></dd>

	<dt><strong>color</strong> = &lt;member 'color' of 'Printer' objects&gt;</dt>
	<dd><p>Print in color.<br>
True - color  --  Default<br>
False - greyscale</p></dd>

	<dt><strong>copies</strong> = &lt;member 'copies' of 'Printer' objects&gt;</dt>
	<dd><p>Number of copies</p></dd>

	<dt><strong>file</strong> = &lt;attribute 'file' of 'Printer' objects&gt;</dt>
	<dd><p>Name of file to print into</p></dd>

	<dt><strong>mph</strong> = &lt;member 'mph' of 'Printer' objects&gt;</dt>
	<dd><p>Mirror Pages Horizontal<br>
True<br>
False  --  Default</p></dd>

	<dt><strong>mpv</strong> = &lt;member 'mpv' of 'Printer' objects&gt;</dt>
	<dd><p>Mirror Pages Vertical<br>
 True<br>
False  --  Default</p></dd>

	<dt><strong>pages</strong> = &lt;attribute 'pages' of 'Printer' objects&gt;</dt>
	<dd><p>List of pages to be printed</p></dd>

	<dt><strong>printer</strong> = &lt;attribute 'printer' of 'Printer' objects&gt;</dt>
	<dd><p>Name of printer to use.<br>
Default is 'File' for printing into file</p></dd>

	<dt><strong>prnLanguage</strong> = &lt;attribute 'prnLanguage' of 'Printer' objects&gt;</dt>
	<dd><p>Print language to use.<br>
One of PRNLANG_* constants.  --  Default is PRNLANG_POSTSCRIPT3</p></dd>

	<dt><strong>pslevel</strong> = &lt;member 'pslevel' of 'Printer' objects&gt;</dt>
	<dd><p>Deprecated, use prnLanguage instead.</p></dd>

	<dt><strong>separation</strong> = &lt;attribute 'separation' of 'Printer' objects&gt;</dt>
	<dd><p>Print separations<br>
         'No'  -- Default<br>
         'All'<br>
         'Cyan'<br>
         'Magenta'<br>
         'Yellow'<br>
         'Black'<br>
Beware of misspelling because a check is not performed</p></dd>

	<dt><strong>ucr</strong> = &lt;member 'ucr' of 'Printer' objects&gt;</dt>
	<dd><p>Apply Under Color Removal<br>
True  --  Default<br>
False</p></dd>

	<dt><strong>useICC</strong> = &lt;member 'useICC' of 'Printer' objects&gt;</dt>
	<dd><p>Use ICC Profile<br>
True<br>
False  --  Default</p></dd>
</dl>
</body>
</html>