CPrintDialog::GetDeviceName

CString GetDeviceName( ) const;

Return Value

The name of the currently selected printer.

Remarks

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

CPrintDialog OverviewClass MembersHierarchy Chart

See Also   CPrintDialog::GetDriverName, CPrintDialog::GetDevMode, CPrintDialog::GetPortName