SoloCodigo

CLR: .Net / Mono / Boo / Otros CLR => C# => Mensaje iniciado por: jescobar1 en Lunes 13 de Junio de 2011, 01:33

Título: Concatenar Pdfs
Publicado por: jescobar1 en Lunes 13 de Junio de 2011, 01:33
Hola,

A ver si me podeís hechar una mano, estoy intentando concatenar pdf`s, he probado con este código, no dá error pero no hace nada.


String patchServer = Server.MapPath(@"../bin/pdftk.exe");
Process myProcess = Process.Start(patchServer, """ + Server.MapPath
     @"menusManuales//menu_64.pdf") + "" "" + Server.MapPath(@"menusManuales//menu_63.pdf") + " cat output  "" + Server.MapPath(@"menu_6466.pdf") + ""
     dont_ask");"
if (myProcess != null)
{
   myProcess.StartInfo.CreateNoWindow = false;
   myProcess.EnableRaisingEvents = true;
   while (!myProcess.HasExited) { }
      Response.Redirect("../reservas/menusManuales/menu_6466.pdf");
}