Try the PDF Optimizer feature instead!
But my client is having only Adobe Acrobat standard. am i able to use PDF optimizer?
Maybe could you give a simple guide to use pdf Optimizer with IAC?
You didn't mention that - PDF Optimizer is only in Professional. In that case, you are indeed limited to the features that you've mentioned.
Were Professional present, you would also have the full capabilities of Batch processing and Preflight to reduce the file size of a PDF.
anyone knows how to call this menu item?
anyone has better options could also suggest(3rd party SDK???)
Hey, I've Acrobat Pro DC. The PDF that I am trying to read has some part in form of the scanned images. I need to convert those scanned images into PDF Readable format. PDF Optimizer has an option named "optimized scanned pages". Will this option complete my task? I need to write the code in Python/ VBA/ VB.Net. If you can help me out, it'd be great.
Syntax in JS( found in documentation ) :
void AVDocSaveOptimized(AVDoc avDoc, const PDFOptParamsRec* pdfOptParams)
You don’t want PDF Optimizer, you want Recognize Text. However, those APIs can only be called by plugins which are written in C/C++.
Also, remember that Acrobat is NOT a server product and can’t be deployed as such.
Hey! Thank you for this help. Through extensive research, I also came across this fact that I need to use Recognize Text.
I need help on 2 things:
1. Can you please tell me which plugins to use in case of "Recognize Text". I already searched through the documentation and everywhere but was unable to find it.
2. Is it possible to write this code in VBA/VBS or VB.Net?
2 – No.
1 – You don’t call a plugin, you need to WRITE A PLUGIN that calls the appropriate APIs.
In first point you mentioned about the appropriate APIs. Can you please specify which API to use?
Let me explain what I am trying to say using an example. When I need to extract the coordinates of the word, I use GetNthPageQuads. Similarly here in this situation, what is the substitute of GetNthPageQuads?
For RecognizeText, you will use the AVCommand APIs. There is a samiple in the SDK
I don’t understand why you need to substitute…that is a fine API
Le me give you my precise piece of code so that you may be able to help me in a better way.
Last 2 lines of code in python:
avDoc1 = Dispatch("AcroExch.App")
Now, when I run this code, it opens up the Pro DC and lands on the specific page where I have the button "recognize text". All I need to do is just write some more line of command which will help me to shift the command to this button and press it so that this operation(recognizing text) gets started and I have the desired output pdf file directly opened.
There is no API for automating the UI in Acrobat – which is what you are trying to accomplish. Perhaps some 3rd party solution can help you.
Let us not try to accomplish this step by step using UI in Acrobat.
1.Can you tell me the direct command which is to be used to press the button named "Recognize Text" option in Optimize PDF tab. I know it is present somewhere in the AV Command API, however, I am not able to exactly locate it. Any help?
2. Some 3rd party solution that might be available for free that you are aware of? Please suggest?
There is NO direct command to push the button – that is what we have been trying to tell you! Instead, you use the AVCommand APIs FROM YOUR OWN PLUGIN which completely avoids the UI entirely.
My point about 3rd parties was something that would click the button for you, some sort of macro program.