Can files be concatenated with GhostScript? I would really like to concatenate multiple PostScript files to a single one. I have not read that that is possible, but I have read that concatenating multiple PDF files to a single PostScript file is. It failed for me, but I have high hopes. The settings I used follow (trimmed for ease of reading). Any suggestions would be appreciated.
Error was : An error occured when call to 'gsapi_init_with_args' is made: -100
but then that seems to be common to many error conditions
Thanks, Mike
switches.Add("-empty");
Error was : An error occured when call to 'gsapi_init_with_args' is made: -100
but then that seems to be common to many error conditions
Thanks, Mike
switches.Add("-empty");
switches.Add("-dSAFER");
switches.Add("-dBATCH");
switches.Add("-dNOPAUSE");
switches.Add("-dNOPROMPT");
switches.Add(@"-sFONTPATH=" + System.Environment.GetFolderPath(System.Environment.SpecialFolder.Fonts));
switches.Add("-dFirstPage=" + pageFrom.ToString());
switches.Add("-dLastPage=" + pageTo.ToString());
//switches.Add("-sDEVICE=png16m");
//switches.Add("-sDEVICE=pdfwrite");
switches.Add("-sDEVICE=ps2write");
switches.Add("-r96");
switches.Add("-dTextAlphaBits=4");
switches.Add("-dGraphicsAlphaBits=4");
switches.Add(@"-sOutputFile=C:\colorblack.ps");
switches.Add(@"-f");
//switches.Add(@"C:\color.pdf C:\black.pdf"); // tried this too
switches.Add(@"C:\color.pdf, C:\black.pdf");