wx.PrinterDC

Inheritance diagram for wx.PrinterDC:



Description

A printer device context is specific to MSW and Mac, and allows access to any printer with a Windows or Macintosh driver.

See wx.DC for further information on device contexts, and wx.DC.GetSize for advice on achieving the correct scaling for the page.

See also

wx.DC

Derived From

Methods Summary

Class API

Methods

__init__(printData)

Constructor. Pass a wx.PrintData object with information necessary for setting up a suitable printer device context.

This is the recommended way to construct a wx.PrinterDC. Make sure you specify a reference to a wx.PrintData object, not a pointer – you may not even get a warning if you pass a pointer instead.

Parameters:


Returns:

wx.PrinterDC