1
.\" Copyright 1997-2004 Glyph & Cog, LLC
2
.TH pdftotext 1 "22 January 2004"
4
pdftotext \- Portable Document Format (PDF) to text converter
13
converts Portable Document Format (PDF) files to plain text.
15
Pdftotext reads the PDF file,
17
and writes a text file,
21
is not specified, pdftotext converts
27
is \'-', the text is sent to stdout.
31
Specifies the first page to convert.
34
Specifies the last page to convert.
37
Specifies the resolution, in DPI. The default is 72 DPI.
40
Specifies the x-coordinate of the crop area top left corner
43
Specifies the y-coordinate of the crop area top left corner
46
Specifies the width of crop area in pixels (default is 0)
49
Specifies the height of crop area in pixels (default is 0)
52
Maintain (as best as possible) the original physical layout of the
53
text. The default is to \'undo' physical layout (columns,
54
hyphenation, etc.) and output the text in reading order.
57
Keep the text in content stream order. This is a hack which often
58
"undoes" column formatting, etc. Use of raw mode is no longer
62
Generate a simple HTML file, including the meta information. This
63
simply wraps the text in <pre> and </pre> and prepends the meta
67
Generate an XHTML file containing bounding box information for each
70
.BI \-enc " encoding-name"
71
Sets the encoding to use for text output. This defaults to "UTF-8".
74
Lits the available encodings
76
.BI \-eol " unix | dos | mac"
77
Sets the end-of-line convention to use for text output.
80
Don't insert page breaks (form feed characters) between pages.
83
Specify the owner password for the PDF file. Providing this will
84
bypass all security restrictions.
87
Specify the user password for the PDF file.
90
Don't print any messages or errors.
93
Print copyright and version information.
96
Print usage information.
102
Some PDF files contain fonts whose encodings have been mangled beyond
103
recognition. There is no way (short of OCR) to extract text from
106
The Xpdf tools use the following exit codes:
112
Error opening a PDF file.
115
Error opening an output file.
118
Error related to PDF permissions.
123
The pdftotext software and documentation are copyright 1996-2004 Glyph