CPrintDialog::GetPortName

CString GetPortName( ) const;

Return Value

The name of the currently selected printer port.

Remarks

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

Example

See the example for CPrintDialog::GetDeviceName.

CPrintDialog OverviewClass MembersHierarchy Chart

See Also   CPrintDialog::GetDriverName, CPrintDialog::GetDeviceName