Printto verb is not working in Windows 10

  • Thread starter Thread starter DeepakHirapur
  • Start date Start date
D

DeepakHirapur

Guest
When we drag and drop file on icon, FAX Driver dialog is not launching.

Windows OS version:
Win 10 PRO, 1909, 18363.535

Please find the below piece of code.

string file = "C:\\Users\\test\\Documents\\ReportPDFFile.pdf";
string driverName = "M-1199N FAX";
System.Diagnostics.ProcessStartInfo info = new System.Diagnostics.ProcessStartInfo(file);
info.CreateNoWindow = true;
info.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
info.Arguments = "\"" + driverName + "\"";
info.UseShellExecute = true;
info.Verb = "Printto";

System.Diagnostics.Process.Start(info);

After Process.Start(info),PDF reader will launch , but FAX dialog is not launching
Please help us!!!

Thanks in advance

Continue reading...
 
Back
Top