Keep digital signature in pdf

0

I'm making a console application that downloads several .pdf files from a web service of our same organization, to then perform a merge and with caliber convert it to .epub.

The problem arises that these documents have a digital signature, when the merge disappears and I need you to keep that signature in the footer, I understand that by undergoing a small modification it is normal to disappear, then probe and manually download it make an impression from windows in the printer MIcrosoft to print pdf, print several and then make the merge and in this way I keep the digital signature, the problem arises that when printing from the application the output file is blank.

This is the code I use to try to print the pdf

 PrintDocument pd = new PrintDocument();
 ProcessStartInfo info = new ProcessStartInfo(file);
 info.Verb = "Print";
 pd.PrinterSettings.PrintToFile = true;
 pd.PrinterSettings.PrinterName = "Microsoft Print to PDF";
 pd.PrinterSettings.PrintToFile = true;
 pd.PrinterSettings.PrintFileName = Path.Combine(@"C:\Print\Salida" + ".pdf");
 pd.Print();
 info.CreateNoWindow = true;
    
asked by Sebastian 29.07.2018 в 14:13
source

0 answers