Code:
void CMAEC_SoftView::OnPrint(CDC* pDC, CPrintInfo* pInfo)
{
	// TODO: add customized printing code here
	CBitmap bmpLogo;
	bmpLogo.LoadBitmap(IDB_BITMAP_LOGO);
	
	CDC dcLogo;
	dcLogo.CreateCompatibleDC(pDC);
	dcLogo.SelectObject(&bmpLogo);	

	pDC->BitBlt(0,0,bmpLogo.GetBitmapDimension().cx,bmpLogo.GetBitmapDimension().cy,&dcLogo,0,0,SRCCOPY);	
	dcLogo.DeleteDC();
}