title: print form on the full page instead of a part of it
body: <p>i want to print my form on the whole page but instead the picture looks like this :</p>
  
  <p><a href="http://i.stack.imgur.com/JSXh2.jpg" rel="nofollow">http://i.stack.imgur.com/JSXh2.jpg</a></p>
  
  <p>it looks very small that's why i need the form to be printed on the whole full page</p>
  
  <p>here is my code : </p>
  
  <pre><code>private void button5_Click(object sender, EventArgs e)
      {
          CaptureScreen();
          printDocument1.Print();
  
      }
  
      private Bitmap _memoryImage;
  
      private void CaptureScreen()
      {
          // put into using construct because Graphics objects do not 
          //  get automatically disposed when leaving method scope
          using (var myGraphics = CreateGraphics())
          {
              var s = Size;
              _memoryImage = new Bitmap(s.Width, s.Height, myGraphics);
              using (var memoryGraphics = Graphics.FromImage(_memoryImage))
              {
                  memoryGraphics.CopyFromScreen(Location.X, Location.Y, 0, 0, s);
              }
          }
      }
  
      private void printDocument1_PrintPage(object sender, System.Drawing.Printing.PrintPageEventArgs e)
      {
  
  
  
          var wScale = e.MarginBounds.Width / (float)_memoryImage.Width;
          var hScale = e.MarginBounds.Height / (float)_memoryImage.Height;
  
          // choose the smaller of the two scales
          var scale = wScale &lt; hScale ? wScale : hScale;
  
          // apply scaling to the image
          e.Graphics.ScaleTransform(scale, scale);
  
          // print to default printer's page
          e.Graphics.DrawImage(_memoryImage, 0, 0);
  
      }
  </code></pre>
  
  <p>your help would be appreciated </p>