PyCPrintInfo
.GetMaxPage
GetMaxPage(
)
Get the number of the last page of the document.
MFC References
CPrintInfo::GetMaxPage