CPrintDialogEx::GetPortName

Call this function after calling DoModal or GetDefaults to retrieve the name of the currently selected printer port.

CString GetPortName( ) const;

Return Value

The name of the currently selected printer port.

Requirements

Header: afxdlgs.h

See Also

Concepts

CPrintDialogEx Class

CPrintDialogEx Members

Hierarchy Chart

CPrintDialogEx::GetDriverName

CPrintDialogEx::GetDeviceName