CPrintDialogEx::GetDriverName
Call this function after calling DoModal or GetDefaults to retrieve the name of the system-defined printer device driver.
CString GetDriverName( ) const;
A CString specifying the system-defined driver name.
Use a pointer to the CString object returned by GetDriverName as the value of lpszDriverName in a call to CDC::CreateDC.
Header: afxdlgs.h