These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Batch Print of PDF Files to Postscript Files

srprice
Registered: Sep 19 2007
Posts: 138
Answered

I'm trying to write a batch that will process 6,000+ PDFS and save them as Postscript files. I'm using the following code:

var pp = this.getPrintParams();
pp.fileName = "/c/temp/test.ps";
pp.printerName = "";
this.print(pp);

However it produces a PDF file. How do I change it to produce .ps files?

Thanks for any help.

Sarah

My Product Information:
Acrobat Pro 8.1.2, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Are you telling me that the code above does not create the "test.ps" file?? I just tried it out without a problem.

But you know, if you're goig to be using this code in a batch process, you really ought to give the output PS files different names.

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script