Compartir a través de


CPrintDialog::GetPortName

Retrieves the name of the currently selected printer port.

CString GetPortName( ) const;

Return Value

The name of the currently selected printer port.

Remarks

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

Example

See the example for CPrintDialog::GetDeviceName.

Requirements

Header: afxdlgs.h

See Also

Concepts

CPrintDialog Class

CPrintDialog Members

Hierarchy Chart

CPrintDialog::GetDriverName

CPrintDialog::GetDeviceName