Answered
Hi
1. How can i add acrobat java script into c# windows application.
2. How can i group several pdf files into single pdf.
3. How can i convert pdf file into ps using adobe javascript or c#.net.
Please tell from where should i start.
Thanks in advance.
Regards,
Deepak Kataria
The same way you would run JS from a VB app. Get the documentation here:
http://www.adobe.com/devnet/acrobat/interapplication.php
You'll be acquriing the JSO object from the PDDoc object.
2. How can i group several pdf files into single pdf.
Append them together, wrap them in PDF Package, or just make them file attachments. There's a menu item for this on the "File" menu
3. How can i convert pdf file into ps using adobe javascript or c#.net.
Print the PDF to a file using a null printer, like this:
var pp = this.getPrintParams();
pp.fileName = "/c/temp/myDoc.ps";
pp.printerName = "";
this.print(pp);
I copied this code from the Acrobat JavaScript Reference. Example #3 for the doc.print() fucntion.
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script