PD_RETURNDC

const win32ui.PD_RETURNDC;

Causes PrintDlg to return a device context matching the selections the user made in the dialog box. The device context is returned in hDC.