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