Hi everyone (and sorry for my english),
Somebody knows how to export a pdf file to a txt file using adobe reader from PB?
I tried to use another tools, but the conversion is diferent than the adobe way.
Thanks in advance.
Export a pdf file to txt
Export a pdf file to txt
The PB community is great... nice to meet you!
-
- Always Here
- Posts: 6426
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: Export a pdf file to txt
You can use PB's RunProgram() to, erm, run Adobe Reader, command line style. The place to ask about the command line options:
http://blogs.adobe.com/pdfdevjunkie/200 ... comma.html
Edit: Ah, this page seems to suggest that Adobe do not provide an option for saving as a text file via the command line:
http://livedocs.adobe.com/acrobat_sdk/1 ... 22.31.html
Try these PB links to make a DLL:
http://www.purebasic.fr/english/viewtop ... 13&t=46625
http://www.purebasic.fr/english/viewtop ... 04#p270204
http://blogs.adobe.com/pdfdevjunkie/200 ... comma.html
Edit: Ah, this page seems to suggest that Adobe do not provide an option for saving as a text file via the command line:
http://livedocs.adobe.com/acrobat_sdk/1 ... 22.31.html
Try these PB links to make a DLL:
http://www.purebasic.fr/english/viewtop ... 13&t=46625
http://www.purebasic.fr/english/viewtop ... 04#p270204
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
Re: Export a pdf file to txt
Hi IdeasVacuum,
First of all, thank you very much for your interest.
I have reached the same conclusion, it seems that you can't export a pdf to text file from the command line.
I've tried the solutions of the links you suggest, but the result of conversion is different from Adobe and I can't extract the data I need.
Thanks again.
Regards
First of all, thank you very much for your interest.
I have reached the same conclusion, it seems that you can't export a pdf to text file from the command line.
I've tried the solutions of the links you suggest, but the result of conversion is different from Adobe and I can't extract the data I need.
Thanks again.
Regards
The PB community is great... nice to meet you!
-
- Always Here
- Posts: 6426
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: Export a pdf file to txt
...It is worth posting the question at pdf dev junkie, you never know, there may be other options undocumented. I had a 'wish' for a command line option for AbiWord not so long ago and luckily there was an undocumented feature that did the trick.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
Re: Export a pdf file to txt
i try the post that you say,
best regards
best regards
The PB community is great... nice to meet you!