CPrintDialog::GetDefaults

This method retrieves the device defaults of the default printer without displaying a dialog box. The retrieved values are placed in the m_pd structure.

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

BOOL GetDefaults( );