win32ui.CreatePrintDialog

PyCPrintDialog = CreatePrintDialog(idRes, bPrintSetupOnly , dwFlags , parent , dll )

Creates a print dialog object.

Parameters

idRes : int

The ID of the dialog resource to load.

bPrintSetupOnly=FALSE : int

Specifies whether the standard Windows Print dialog box or Print Setup dialog box is displayed.

dwFlags=PD_ALLPAGES|PD_USEDEVMODECOPIES|PD_NOPAGENUMS|PD_HIDEPRINTTOFILE|PD_NOSELECTION : int

One or more flags you can use to customize the settings of the dialog box, combined using the bitwise OR operator.

parent=None : PyCWnd

A pointer to the dialog box parent or owner window.

dll=None : PyDLL

The DLL object to load the dialog from.