6 pdfinfo - Portable Document Format (PDF) document informa-
7 tion extractor (version 3.02)
10 pdfinfo [options] [PDF-file]
13 Pdfinfo prints the contents of the 'Info' dictionary (plus
14 some other useful information) from a Portable Document
17 The 'Info' dictionary contains the following values:
28 In addition, the following information is printed:
32 encrypted flag (yes/no)
33 print and copy permissions (if encrypted)
38 metadata (only if requested)
41 Pdfinfo reads a configuration file at startup. It first
42 tries to find the user's private config file, ~/.xpdfrc.
43 If that doesn't exist, it looks for a system-wide config
44 file, typically /usr/local/etc/xpdfrc (but this location
45 can be changed when pdfinfo is built). See the xpdfrc(5)
49 Many of the following options can be set with configura-
50 tion file commands. These are listed in square brackets
51 with the description of the corresponding command line
55 Specifies the first page to examine. If multiple
56 pages are requested using the "-f" and "-l"
57 options, the size of each requested page (and,
58 optionally, the bounding boxes for each requested
59 page) are printed. Otherwise, only page one is
63 Specifies the last page to examine.
65 -box Prints the page box bounding boxes: MediaBox, Crop-
66 Box, BleedBox, TrimBox, and ArtBox.
68 -meta Prints document-level metadata. (This is the
69 "Metadata" stream from the PDF file's Catalog
73 Sets the encoding to use for text output. The
74 encoding-name must be defined with the unicodeMap
75 command (see xpdfrc(5)). This defaults to "Latin1"
76 (which is a built-in encoding). [config file: tex-
80 Specify the owner password for the PDF file. Pro-
81 viding this will bypass all security restrictions.
84 Specify the user password for the PDF file.
87 Read config-file in place of ~/.xpdfrc or the sys-
90 -v Print copyright and version information.
92 -h Print usage information. (-help and --help are
96 The Xpdf tools use the following exit codes:
100 1 Error opening a PDF file.
102 2 Error opening an output file.
104 3 Error related to PDF permissions.
109 The pdfinfo software and documentation are copyright
110 1996-2007 Glyph & Cog, LLC.
113 xpdf(1), pdftops(1), pdftotext(1), pdffonts(1),
114 pdftoppm(1), pdfimages(1), xpdfrc(5)
115 http://www.foolabs.com/xpdf/
119 27 February 2007 pdfinfo(1)