PyCDC.CreatePrinterDC

CreatePrinterDC(printerName)

Creates a device context for a specific printer

Parameters

printerName=None : string

The printer name, or None for the default printer

MFC References

CDC::CreateDC