title: Determining current paper type for default printer
body: <p>I'm trying to determine the current paper type selection on the default printer using C#.  </p>
  
  <p>I've determined the default printer using WMI and enumerating through the Properties collection, I can see there's a CurrentPaperType string property, but on both printers in the office, its set to an empty string.</p>
  
  <p><a href="http://msdn.microsoft.com/en-us/library/aa394363(VS.85).aspx" rel="nofollow noreferrer">MSDN's documentation</a> starts rambling on about printers implementing this standard blah blah, but very little in the way of practical advice :-</p>
  
  <blockquote>
    <p>Type of paper the printer is using. Must be expressed in the form specified by the ISO/IEC 10175 Document Printing Application (DPA), which is summarized in Appendix C of RFC 1759 (Printer MIB). This property is inherited from <strong>CIM_Printer</strong>.</p>
  </blockquote>
  
  <p>I can retrieve a list of all paper types the chosen printer supports, but it doesn't tell me which one it is currently set to.</p>
  
  <p>I'm creating a dynamic report in memory and then spitting it out to the printer in one hit, so I need to know the paper size in order to correctly set margins, column widths etc.</p>
  
  <p>Anyone had any success retrieving this information?</p>