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

Change of Resolution while saving the PDF.

dinesh_newdelhi
Registered: May 5 2008
Posts: 3

Dear All,

I have a problem while saving the PDF to other format. I'm using JavaScript.SaveAs function for saving the PDF. The problem is I need to change the Resolution and Compression mechanism while saving. The same can be done in Acrobat, but I want to do it with a programming language(VB.NET).

Please help me on this.

Thanks in advance.

Regards,
Dinesh Gupta

My Product Information:
Acrobat Pro 8.1.2, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
The PDF Optimization functions are not available in Acrobat JavaScript. If you want to automate this process you would have to use a Batch Process, or write a custom plugin that taps into the PDFOptimizer through the HFTs, I don't know for sure if the PDF Optimizer is exposed through an HFT, it's just too good for Adobe not to include. The advantage of the plug-in, is that once it's written you could drive it from a VB app.

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

dinesh_newdelhi
Registered: May 5 2008
Posts: 3
Dear thomp,

Thanks for your quick response.

You mean to say that there is no such Acrobat API that deals in setting of the PDF like Resolution, Compression Mechanism, etc.

Do you have such custom plug-in with you? If yes, please mail me that plug-in at dinesh [dot] gupta [at] nucleussoftware [dot] com.Or please give me some more details about the same so that I could be able to find that plug-in by myself.

Regards,
Dinesh Gupta