title: C# code to get maximum dpi of installed or selected printer
body: <p>I want to get Maximum Dpi of installed or selected printer. I tried </p>
  
  <pre><code>PrinterSettings ps = new PrinterSettings();
          MessageBox.Show(ps.PrinterResolutions.ToString());
  </code></pre>
  
  <p>and I get this output: System.Drawing.Printing.PrinterSettings+PreinterResolutionCollection
  (The desired output is 600x600).</p>