CPrintDialog::GetDeviceName

This method retrieves the name of the currently selected printer.

At a Glance

Header file: Afxdlgs.h
Platforms: H/PC 2.0, H/PC Pro
Windows CE versions: 2.10 and later
Complete documentation: Visual C++ documentation

Syntax

CString GetDeviceName( ) const;