Pdf To Text

Convert Pdf to text show on Content, Search , Download pdf files

Install Xpdf On Linux debian

Install Xpdf On Linux debian

Download Source file from



gzip -cd xpdf-3.02.tar.gz | tar xf -


patch -p0 < xpdf-3.02pl4.patch


./configure --prefix=/usr \
--sysconfdir=/etc \
--enable-opi \
--enable-multithreaded \
--enable-wordlist &&


make install

Running Xpdf

Running Xpdf

To run xpdf, simply type:

xpdf file.pdf

To generate a PostScript file, hit the "print" button in xpdf, or run

pdftops file.pdf

To generate a plain text file, run pdftotext:

pdftotext file.pdf

There are four additional utilities (which are fully described in
their man pages):

pdfinfo -- dumps a PDF file's Info dictionary (plus some other
useful information)
pdffonts -- lists the fonts used in a PDF file along with various
information for each font
pdftoppm -- converts a PDF file to a series of PPM/PGM/PBM-format
pdfimages -- extracts the images from a PDF file

Command line options and many other details are described in the man
pages (xpdf.1, etc.) and the VMS help files (xpdf.hlp, etc.).

What is Xpdf

Xpdf is an open source viewer for Portable Document Format (PDF)
files. (These are also sometimes also called 'Acrobat' files, from
the name of Adobe's PDF software.) The Xpdf project also includes a
PDF text extractor, PDF-to-PostScript converter, and various other

Xpdf runs under the X Window System on UNIX, VMS, and OS/2. The non-X
components (pdftops, pdftotext, etc.) also run on Win32 systems and
should run on pretty much any system with a decent C++ compiler.

Xpdf is designed to be small and efficient. It can use Type 1 or
TrueType fonts.

Xpdf is licensed under the GNU General Public License (GPL)