int = CreateDC(Driver, Device , InitData )

Creates a device context for a printer or display device


Driver : string

Name of display or print provider, usually DISPLAY or WINSPOOL

Device : string

Name of specific device, eg printer name returned from GetDefaultPrinter

InitData : PyDEVMODE

A PyDEVMODE that specifies printing parameters, use None for printer defaults