title: Portable way to determining of printer is physical or virtual
body: <p>I need direct-to-printer functionality for my website, with the ability to distinguish a physical printer from a virtual printer (file).</p>
  
  <p>Coupons.com has this functionality via a native binary which must be installed by the user. I'd prefer to avoid that.</p>
  
  <p>SmartSource.com does it via Java applet:</p>
  
  <p><img src="https://i.stack.imgur.com/J9fhM.png" alt="Smart Source Java Applet"></p>
  
  <p>Does anybody know how this is done? I dug through that Java APIs a bit, and don't see anything that would let you determine physical vs virtual, except looking at the name (that seems prone to misidentification). It would be nice to be able to do it in Java, because I already know how to write Java applets. Failing that, is there a way to do this in Flash or Silverlight?</p>
  
  <p>Thanks in advance.</p>
  
  <p><strong>EDIT:</strong> Well deserved bounty awarded to Jason Sperske who worked out an elegant solution. Thanks to those of you who shared ideas, as well as those who actually investigated SmartSource.com's solution (like Adrian).</p>