Wednesday, March 9, 2016

C# kill specific process

  //Threading for speacific printer otherwise it will open default Faxman printer  
       Task.Factory.StartNew(() =>  
         // Killing Process of default printer  
         Process[] processes = Process.GetProcessesByName("FaxManFMFFileCreator");  
         foreach (var process in processes)  

C# print file on LAN Printer

If you want to print any file on network printer then you can try with this code block // Change Default Printer System.Ma...