Answered
I have several PDFs with digital signatures that I will be merging with several other PDFs to send to a customer for invoiving. Given that the digital signatures will be removed when merging the documents, I need to create a batch script to reprint each of the selected PDFs using the Adobe PDF printer.
I'm unsure as to how to switch to the Adoboe PDF printer and then overwite each file with the same file name. I'm using Acrobat Pro 9.4.0. Can anybody help out with a script to do this type of batch process?
But if you really want to over write them then you can use a simple print script. All the print drivers can be found in the "app.printerNames" property. Look up the "doc.print" function in the JavaScript Reference.
Here's an example:
var pp = this.getPrintParams();
pp.printerName = "Adobe PDF";
pp.interactive = pp.constants.interactionLevel.silent;
this.print(pp);
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script