On Linux - How to extract text from a .pdf in which text really is text, not a scanned image? I want something I can use on the command line / in a script, not interactively. (I don't want to convert to .tif and use OCR - text is already available in the .pdf file, so why introduce inaccuracies from imperfect OCR?) Thanks! ~RM
Ignacio's answer is just fine. In fact, it'd be the first thing on my list. Well, that and perhaps to suggest the
Here are some other options too.
Abiword can be called from the commandline to convert between any formats it can input from/export to, and with the appropriate import plugin, this includes PDFs:
(In fairness, I think AbiWord and calibre both use the poppler libraries, but I'm not positive.)