views:

99

answers:

3

Is there a commandline tool to read a pdf file on linux.Please indicate the appropriate urls for this.

Thanks..

A: 

Not a command line tool but a pdf reading and generation framework

you should also be able to write a simple reader using

you can also look at:

pyfunc
@pyfunc:I tried these.But this doesnt work
Hulk
+4  A: 

Xpdf and Poppler contain the commandline-utility pdftotext wich converts PDF files to plain text.

johnbaum
A: 

There is PyODConverter. It uses OpenOffice working as a service and can convert between various document formats including PDF and simple text.

Michał Niklas
IS there any example for this..
Hulk
On the project WWW pages there are examples of usage from command line. I use this library in Web application to "standarize" various formats to PDF and text (text is further used to full text search).
Michał Niklas
@Michal Niklas:My requirement is kind of similar.Couldnt get it work as of now from the example pages.Examples and help appreciated
Hulk
It is hard to say what is not working in your environment. No OpenOffice service? No Python/UNO bridge? I suggest asking new question (on SO or JODConverter Group) or adding more info. There is more info of Java conversion tool/library: http://www.artofsolving.com/opensource/jodconverter/guide (read about starting OOo as service).
Michał Niklas