CPageSetupDialog::GetDriverName

Call this function after calling DoModal to retrieve the name of the system-defined printer device driver.

CString GetDriverName( ) const;

Return Value

A CString specifying the system-defined driver name.

Remarks

Use a pointer to the CString object returned by GetDriverName as the value of lpszDriverName in a call to CDC::CreateDC.

Requirements

Header: afxdlgs.h

See Also

Reference

CPageSetupDialog Class

Hierarchy Chart

CPageSetupDialog::GetDeviceName

CPageSetupDialog::GetDevMode

CPageSetupDialog::GetPortName

Other Resources

CPageSetupDialog Members