title: Printed CDC appears tiny on paper
body: <p>When I print the CDC for a report control that I've created it appears tiny (less than 1 square inch on paper). How can I get the report to be printed to occupy the entire page ?
  Or in other words, how can I make the entire report to appear in one printed page.</p>
  
  <p><code>
          CPrintDialog printDialog(FALSE);
      printDialog.DoModal();</p>
  
  <pre><code>CDC dcPrint;
  if(dcPrint.Attach(printDialog.GetPrinterDC()))
  {
      int iHorzRes = dcPrint.GetDeviceCaps(HORZRES);
      int iVertRes = dcPrint.GetDeviceCaps(VERTRES);
  
      int iHorzResCDC = m_CDC.GetDeviceCaps(HORZRES);
      int iVertResCDC = m_CDC.GetDeviceCaps(VERTRES);
  
      dcPrint.m_bPrinting = TRUE;
              dcPrint.BitBlt(0,0, iHorzRes, iVertRes, &amp;m_CDC, iHorzResCDC, iVertResCDC, SRCCOPY);
      CFont* pOldFont = dcPrint.SelectObject(&amp;m_HeaderFont);
      dcPrint.TextOut(0,0,"HelloWorld")       ;
      dcPrint.SelectObject(pOldFont);
  
      CPrintInfo printInfo;
      printInfo.m_rectDraw.SetRect(0,0, iHorzRes, iVertRes);
      dcPrint.StartDoc("Report Print");       
      dcPrint.StartPage();
      if(dcPrint.EndPage())
          dcPrint.EndDoc();
      else
          dcPrint.AbortDoc();     
  }
  
  dcPrint.DeleteDC();
  </code></pre>
  
  <p></code></p>
  
  <p>m_CDC is the memory DC that I use to buffer and display the entire report on screen.</p>