1pdfinfo(1) General Commands Manual pdfinfo(1)
2
3
4
6 pdfinfo - Portable Document Format (PDF) document information extractor
7 (version 3.03)
8
10 pdfinfo [options] [PDF-file]
11
13 Pdfinfo prints the contents of the ´Info' dictionary (plus some other
14 useful information) from a Portable Document Format (PDF) file.
15
16 The ´Info' dictionary contains the following values:
17
18 title
19 subject
20 keywords
21 author
22 creator
23 producer
24 creation date
25 modification date
26
27 In addition, the following information is printed:
28
29 tagged (yes/no)
30 form (AcroForm / XFA / none)
31 javascript (yes/no)
32 page count
33 encrypted flag (yes/no)
34 print and copy permissions (if encrypted)
35 page size
36 file size
37 linearized (yes/no)
38 PDF version
39 metadata (only if requested)
40
42 -f number
43 Specifies the first page to examine. If multiple pages are
44 requested using the "-f" and "-l" options, the size of each
45 requested page (and, optionally, the bounding boxes for each
46 requested page) are printed. Otherwise, only page one is exam‐
47 ined.
48
49 -l number
50 Specifies the last page to examine.
51
52 -box Prints the page box bounding boxes: MediaBox, CropBox, BleedBox,
53 TrimBox, and ArtBox.
54
55 -meta Prints document-level metadata. (This is the "Metadata" stream
56 from the PDF file's Catalog object.)
57
58 +.B -js
59 +Prints all JavaScript in the PDF. +.TP -rawdates Prints the
60 raw (undecoded) date strings, directly from the PDF file.
61
62 -enc encoding-name
63 Sets the encoding to use for text output. This defaults to
64 "UTF-8".
65
66 -listenc
67 Lits the available encodings
68
69 -opw password
70 Specify the owner password for the PDF file. Providing this
71 will bypass all security restrictions.
72
73 -upw password
74 Specify the user password for the PDF file.
75
76 -v Print copyright and version information.
77
78 -h Print usage information. (-help and --help are equivalent.)
79
81 The Xpdf tools use the following exit codes:
82
83 0 No error.
84
85 1 Error opening a PDF file.
86
87 2 Error opening an output file.
88
89 3 Error related to PDF permissions.
90
91 99 Other error.
92
94 The pdfinfo software and documentation are copyright 1996-2011 Glyph &
95 Cog, LLC.
96
98 pdfdetach(1), pdffonts(1), pdfimages(1), pdftocairo(1), pdftohtml(1),
99 pdftoppm(1), pdftops(1), pdftotext(1)
100
101
102
103 15 August 2011 pdfinfo(1)