title: Configure Virtual Printer Port Redirection
body: <p>I need to configure a virtual printer port to redirect it to a external program(.exe file) through c# code. 
  Right now I am able to install a virtual port with some customization(thanks to <a href="http://social.msdn.microsoft.com/Forums/en-US/netfxbcl/thread/a901406f-7a38-43a2-a970-dab9d52cb0f3/" rel="nofollow noreferrer">bghh</a> code).
  The attached picture illustrates the requirement. Any help will be highly appreciated.</p>
  
  <p><img src="https://i.stack.imgur.com/g7j8E.jpg" alt="Configuring virtual printer port redirection manually"></p>