<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <title>Python: class Printer</title> </head> <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> <dd> <dt><a name="Printer-Print"><strong>Print</strong></a>(...)</dt> <dd><code>This method is deprecated - use <a href="#Printer-print">print</a>() instead.</code></dd> <dt><a name="Printer-__init__"><strong>__init__</strong></a>(...)</dt> <dd><code>x.<a href="#Printer-__init__">__init__</a>(...) initializes x; see x.__class__.__doc__ for signature</code></dd> <dt><a name="Printer-print"><strong>print</strong></a>(...)</dt> <dd><code>Prints selected pages.</code></dd> <hr> <p>Data and other attributes defined here:</p> <dd> <dt><strong>__new__</strong> = <built-in method __new__ of type object></dt> <dd><code>T.<a href="#Printer-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</code></dd> <dt><strong>allPrinters</strong> = <attribute 'allPrinters' of 'Printer' objects></dt> <dd><code>List of installed printers -- read only</code></dd> <dt><strong>cmd</strong> = <attribute 'cmd' of 'Printer' objects></dt> <dd><code>Alternative Printer Command</code></dd> <dt><strong>color</strong> = <member 'color' of 'Printer' objects></dt> <dd><code>Print in color.<br> True - color -- Default<br> False - greyscale</code></dd> <dt><strong>copies</strong> = <member 'copies' of 'Printer' objects></dt> <dd><code>Number of copies</code></dd> <dt><strong>file</strong> = <attribute 'file' of 'Printer' objects></dt> <dd><code>Name of file to print into</code></dd> <dt><strong>mph</strong> = <member 'mph' of 'Printer' objects></dt> <dd><code>Mirror Pages Horizontal<br> True<br> False -- Default</code></dd> <dt><strong>mpv</strong> = <member 'mpv' of 'Printer' objects></dt> <dd><code>Mirror Pages Vertical<br> True<br> False -- Default</code></dd> <dt><strong>pages</strong> = <attribute 'pages' of 'Printer' objects></dt> <dd><code>List of pages to be printed</code></dd> <dt><strong>printer</strong> = <attribute 'printer' of 'Printer' objects></dt> <dd><code>Name of printer to use.<br> Default is 'File' for printing into file</code></dd> <dt><strong>pslevel</strong> = <member 'pslevel' of 'Printer' objects></dt> <dd><code>PostScript Level<br> Can be 1 or 2 or 3 -- Default is 3.</code></dd> <dt><strong>separation</strong> = <attribute 'separation' of 'Printer' objects></dt> <dd><code>Print separationl<br> 'No' -- Default<br> 'All'<br> 'Cyan'<br> 'Magenta'<br> 'Yellow'<br> 'Black'<br> Beware of misspelling because a check is not performed</code></dd> <dt><strong>ucr</strong> = <member 'ucr' of 'Printer' objects></dt> <dd><code>Apply Under Color Removal<br> True -- Default<br> False</code></dd> <dt><strong>useICC</strong> = <member 'useICC' of 'Printer' objects></dt> <dd><code>Use ICC Profile<br> True<br> False -- Default</code></dd> </body> </html>