BCGSuite for MFC
virtual void CBCGPPlannerManagerCtrl::OnBeginPrinting ( CDC *  pDC,
CPrintInfo *  pInfo,
CRuntimeClass *  pPrinterClass = NULL 
)
virtual

Called by the framework when the printing is about to start.

Called by the framework at the beginning of a print or print preview job. This method creates CBCGPPlannerPrint object and calls CBCGPPlannerPrint::PreparePrinting.

Parameters
pDCPoints to the printer device context.
pInfoPoints to a CPrintInfo structure that describes the current print job.
pPrinterClassPoints to the runtime class of the CBCGPPlannerPrint. If this parameter is NULL, then control used default CBCGPPlannerPrint object for current view type.