After printing PDF files with Adobe Acrobat Reader, the program window will not close anymore. This behaviour can't be be influenced by the user. There are two workarounds for this: - You can use an alternative application to print the PDF file, i.e. Foxit Reader
- Many tasks as merging PDF files can be achieved with the pdfforge.dll located in the PlugIns folder of the installation directory. This can be accessed with .Net languages or via a COM Class.
Here's an example in C# that shows how to merge two PDF files: PDF pdf = new pdfforge.PDF.PDF(); string[] TestPDFFiles = new string[2]; TestPDFFiles[0] = Path.Combine(TempPath, "TestPDFFile1.pdf"); TestPDFFiles[1] = Path.Combine(TempPath, "TestPDFFile2.pdf"); pdf.MergePDFFiles(ref files, "MergedFile.pdf", false);
|