CPageSetupDialog::GetDeviceName
Call this function after DoModal to retrieve the name of the currently selected printer.
CString GetDeviceName( ) const;
Возвращаемое значение
The device name used by the CPageSetupDialog object.
Требования
Header: afxdlgs.h