I'm currently using documentservices v. 9.2.0
I have validated that text extraction does work from the client in all instances by manually extracting text. I'm doing this without generating pages... straight up text extraction from a pdf supplied in the Laserfiche client install path. Specifically, I'm testing on Sample5.pdf but I see the same behavior with other pdfs.
Here's the code:
if (te.IsExtensionSupported(docInfo.Extension)) Console.WriteLine(docInfo.Extension + " supported."); else Console.WriteLine(docInfo.Extension + " not supported."); bool extractSuccess = te.ExtractFrom(docInfo); if (extractSuccess) Console.WriteLine("Text Extraction worked."); else Console.WriteLine("Extraction Failed"); docInfo.Save();
In all cases, the first line returns "pdf supported."
On my development workstation, extractSuccess returns true. On my test workstations, extractSuccess returns false.
Unfortunately, the ExtractFrom method returns only a boolean value. I can't figure out any way to tell what is going wrong... it only tells me that the extraction failed.
My question is: Is there any way to get more information about why this might be failing?