Printing

Constants

Printer language

  • PRNLANG_PDF
  • PRNLANG_POSTSCRIPT1
  • PRNLANG_POSTSCRIPT2
  • PRNLANG_POSTSCRIPT3
  • PRNLANG_WINDOWSGDI

class Printer

Printing

Class Printer() provides printing for Python scripting.

Example:
p = Printer()
p.print()

printNow

printNow() -> boolean

Prints selected pages.

Members

allPrinters

List of installed printers -- read only

cmd

Alternative Printer Command

color

Print in color.
True - color -- Default
False - greyscale

copies

Number of copies

file

Name of file to print into

mph

Mirror Pages Horizontal
True
False -- Default

mpv

Mirror Pages Vertical
True
False -- Default

pages

List of pages to be printed

printer

Name of printer to use.
Default is 'File' for printing into file

prnLanguage

Print Language
One of PRNLANG_* constants -- Default is PRNLANG_POSTSCRIPT3.

separation

Print separationl
'No' -- Default
'All'
'Cyan'
'Magenta'
'Yellow'
'Black'
Beware of misspelling because check is not performed

ucr

Apply Under Color Removal
True -- Default
False

useICC

Use ICC Profile
True
False -- Default