title: Name 'Printer' is not declared VB6 to .NET
body: <p>I am upgrading VB6 to .NET after the upgrade I get the compile error:</p>
  
  <pre><code>Name 'Printer' is not declared
  </code></pre>
  
  <p>My code in VB6 is something like this:</p>
  
  <pre><code>THeight = Printer.TextHeight("#")
  </code></pre>
  
  <p>What is the correct way to declare a printer in .NET?</p>
  
  <p>Note: I tried to download the printer power pack, but was unable to get it to work.</p>