CWinApp::GetPrinterDeviceDefaults

BOOL GetPrinterDeviceDefaults( PRINTDLG* pPrintDlg );

Return Value

Nonzero if successful; otherwise 0.

Parameters

pPrintDlg

A pointer to a PRINTDLG structure.

Remarks

Call this member function to prepare a printer device context for printing. Retrieves the current printer defaults from the Windows .INI file as necessary, or uses the last printer configuration set by the user in Print Setup.

CWinApp OverviewClass MembersHierarchy Chart

See Also   CPrintDialog