Configure Virtual Printer Port Redirection
问题 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 bghh code). The attached picture illustrates the requirement. Any help will be highly appreciated. 回答1: I found out solution to the above problem. All the printer ports registered on the system are listed in registry under the key " SYSTEM\ControlSet001\Control\Print\Monitors\Redirected Port\Ports " Values