How can I create 2 pdf files at the same time using GhostScript?
this is my code:
string gsPath = @"C:\Program Files (x86)\gs\gs9.26\bin\gswin32.exe";
List gsArgsList = new List();
gsArgsList.Add(" -dPDFA=2");
gsArgsList.Add(" -dBATCH");
gsArgsList.Add(" -dNOPAUSE");
gsArgsList.Add(" -sProcessColorModel=DeviceCMYK");
gsArgsList.Add(" -sDEVICE=pdfwrite");
gsArgsList.Add(" -dPDFACompatibilityPolicy=1");
gsArgsList.Add(" -sOutputFile=" + nuevo);
gsArgsList.Add(" " + rutaPdfNormal);
var gsArgs = String.Join(null, gsArgsList);
string gs = gsPath + gsArgs;
System.Diagnostics.Process.Start(gsPath, gsArgs);