ocr: Functions called Recommended actions byt the framework when overriding CMWIew.Onfepsrehirting Set length of document, if known. Call DOPrepareprinting to display dialog box and create DC. CMYView::OnBeginPrinting Set length of document based on DC, if not set already. Allocate GDI resources. CDC::StartDOC CMyView: OnPrepareDc Change viewport origin or other DC attributes. If length of document not specitied, check for end of document. CDC:StartpPage CMyView: :OnPrint Print headers, footers, etc. Print specified page; call OnDraw if application IS WYSIWYG. CDC:EndPage CDC::EndDoc CMyView: :OnEn ...