Merge multiple PDFs to PostScript with GhostScript / C#
Mike Breeden <[email protected]>
| Newsgroups | gmane.comp.printing.ghostscript.devel |
|---|---|
| Message-ID | <[email protected]> |
Greetings,
Can anyone suggest how to merge multiple PDF files into a single PostScript file when using GhostScript with C#
At the command line, it is:
gswin32c.exe -dNOPAUSE -dBATCH -sDEVICE=ps2write -sOutputFile=outfile.ps Infile1.pdf Infile2.pdf
params.Add("-q");
params.Add("-dQUIET");
params.Add("-dNOPAUSE");
params.Add("-dBATCH");
params.Add("-P-");
params.Add("-dPARANOIDSAFER");
params.Add("-dNOPROMPT");
params.Add("-sDEVICE=ps2write");
params.Add("-dLanguageLevel=3);
params.Add("-dASCII85DecodePages=false");
params.Add("-sOutputFile=outfile.ps");
params.Add("InFile1.PDF inFile2.PDF");
It is easy to convert multiple PDF files to a single PostScript file from the command line, but I need to do it in a program. I cannot get it to work.
I figure it would be something like:
params.Add("InFile1.PDF inFile2.PDF");
as the last parameter, but no such luck
Any suggestions would be greatly appreciated. Thanks, Mike
_______________________________________________
gs-devel mailing list
[email protected]
http://ghostscript.com/cgi-bin/mailman/listinfo/gs-devel