1pdfinfo(1) General Commands Manual pdfinfo(1)
2
3
4
6 pdfinfo - Portable Document Format (PDF) document information extractor
7 (version 3.00)
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 page count
31 encrypted flag (yes/no)
32 print and copy permissions (if encrypted)
33 page size
34 file size
35 linearized (yes/no)
36 PDF version
37 metadata (only if requested)
38
40 -f number
41 Specifies the first page to examine. If multiple pages are
42 requested using the "-f" and "-l" options, the size of each
43 requested page (and, optionally, the bounding boxes for each
44 requested page) are printed. Otherwise, only page one is exam‐
45 ined.
46
47 -l number
48 Specifies the last page to examine.
49
50 -box Prints the page box bounding boxes: MediaBox, CropBox, BleedBox,
51 TrimBox, and ArtBox.
52
53 -meta Prints document-level metadata. (This is the "Metadata" stream
54 from the PDF file's Catalog object.)
55
56 -enc encoding-name
57 Sets the encoding to use for text output. This defaults to
58 "UTF-8".
59
60 -listenc
61 Lits the available encodings
62
63 -opw password
64 Specify the owner password for the PDF file. Providing this
65 will bypass all security restrictions.
66
67 -upw password
68 Specify the user password for the PDF file.
69
70 -v Print copyright and version information.
71
72 -h Print usage information. (-help and --help are equivalent.)
73
75 The Xpdf tools use the following exit codes:
76
77 0 No error.
78
79 1 Error opening a PDF file.
80
81 2 Error opening an output file.
82
83 3 Error related to PDF permissions.
84
85 99 Other error.
86
88 The pdfinfo software and documentation are copyright 1996-2004 Glyph &
89 Cog, LLC.
90
92 pdftops(1), pdftotext(1), pdffonts(1), pdftoppm(1), pdfimages(1),
93
94
95
96 22 January 2004 pdfinfo(1)