CPrintDialogEx::PrintAll
Call this function after calling DoModal to determine whether to print all pages in the document.
BOOL PrintAll( ) const;
Return Value
TRUE if all pages in the document are to be printed; otherwise FALSE.
Requirements
Header: afxdlgs.h
See Also
Reference
CPrintDialogEx::PrintCurrentPage
CPrintDialogEx::PrintSelection