title: Printing option disabled for "Print to the file"
body: <p>I'm trying to send and print any file with code from <a href="https://support.microsoft.com/en-us/kb/322091" rel="nofollow noreferrer">this</a> link. But the issue is I'm not able to enable the printer option to page selection range from printer setting dialog. Now after some digging on internet I found some way to do it using below code:</p>
  
  <pre><code>PrintDialog.UserPageRangeEnabled()
  PrintDialog.ShowDialog()
  </code></pre>
  
  <p>But it seems to be WPF code and not available with normal winform c# application, though I'm using .NET 4.5 framework. </p>
  
  <p>Any clues how to do the same without using WPF?</p>
  
  <p><img src="https://i.stack.imgur.com/RYRKY.png" alt="Print dialog with disabled page selection"></p>