title: how do I set Paper Type while using PrinterDialog?
body: <p>I'm trying to silently print a picture file and i need to print it on special paper type ("Glossy Photo Paper"), and on certain size (10cm on 15cm).</p>
  
  <p>On normal windows 7 print dialog i can choose:</p>
  
  <p>Paper <strong>Size</strong>,</p>
  
  <p>Paper <strong>Quality</strong> (for example - "Auto", "High", "Standard", "Custom")</p>
  
  <p>Paper <strong>Type</strong> ("Plain paper", "Glossy photo paper", "Photo Paper Plus Glossy", "Photo Paper Pro Platinum", "Hagaki", etc...)</p>
  
  <p>But, through c# code, I've managed to set only the <strong>PaperSize</strong> (which is 4'' on 6'' == 10cm on 15cm).</p>
  
  <p>My problem is how do i get the option to set the Paper <strong>Type</strong>, and <strong>not</strong> the <strong>PaperSource</strong> ("Tray 1", "Tray 2", etc)....</p>
  
  <p>I know that every printer has its own Paper Types which it supports, so i probably need to iterate through it all, but I just couldn't figure it how.</p>
  
  <p>this is my current code:</p>
  
  <pre><code>string strPrinterName = "Canon iP4850";
  
  PrintDocument printDoc = new PrintDocument();
  
  // We set the paper size
  printDoc.DefaultPageSettings.PaperSize = new PaperSize("PhotoPaper", 400, 600);
  
  // Inside the event i actually draw the image all over the paper by using e.Graphics.DrawImage(...)
  printDoc.PrintPage += PrintDocPrintPage;
  
  // Creating the print dialog
  PrintDialog dlgPrint = new PrintDialog
  {
      Document = printDoc
  };
  
  // We choose the printer
  dlgPrint.PrinterSettings.PrinterName = strPrinterName;
  
  // just to be sure - give the new size of our paper
  dlgPrint.PrinterSettings.DefaultPageSettings.PaperSize = new PaperSize("PhotoPaper", 400, 600);
  
  // If the printer is invalid
  if (!dlgPrint.PrinterSettings.IsValid)
  {
      throw new Exception(@"Printer is invalid" + Environment.NewLine + strPrinterName);
  }
  
  // Print without showing the dialog
  printDoc.Print();
  </code></pre>
  
  <p>thank you all in advance.</p>