1pdfinfo(1)                  General Commands Manual                 pdfinfo(1)
2
3
4

NAME

6       pdfinfo - Portable Document Format (PDF) document information extractor
7       (version 3.03)
8

SYNOPSIS

10       pdfinfo [options] [PDF-file]
11

DESCRIPTION

13       Pdfinfo prints the contents of the ´Info' dictionary (plus  some  other
14       useful information) from a Portable Document Format (PDF) file.
15
16       If PDF-file is ´-', it reads the PDF file from stdin.
17
18       The ´Info' dictionary contains the following values:
19
20              title
21              subject
22              keywords
23              author
24              creator
25              producer
26              creation date
27              modification date
28
29       In addition, the following information is printed:
30
31              tagged (yes/no)
32              form (AcroForm / XFA / none)
33              javascript (yes/no)
34              page count
35              encrypted flag (yes/no)
36              print and copy permissions (if encrypted)
37              page size
38              file size
39              linearized (yes/no)
40              PDF version
41              metadata (only if requested)
42
43       The  options -listenc, -meta, -js, -struct, and -struct-text only print
44       the requested information.  The  'Info'  dictionary  and  related  data
45       listed  above  is not printed. At most one of these five options may be
46       used.
47

OPTIONS

49       -f number
50              Specifies the first page to examine.  If multiple pages are  re‐
51              quested  using  the  "-f" and "-l" options, the size of each re‐
52              quested page (and, optionally, the bounding boxes for  each  re‐
53              quested  page)  are  printed.  Otherwise, only page one is exam‐
54              ined.
55
56       -l number
57              Specifies the last page to examine.
58
59       -box   Prints the page box bounding boxes: MediaBox, CropBox, BleedBox,
60              TrimBox, and ArtBox.
61
62       -meta  Prints  document-level metadata.  (This is the "Metadata" stream
63              from the PDF file's Catalog object.)
64
65       -js    Prints all JavaScript in the PDF.
66
67       -struct
68              Prints the logical document structure of a Tagged-PDF file.
69
70       -struct-text
71              Print the textual content along with the document structure of a
72              Tagged-PDF  file.   Note  that extracting text this way might be
73              slow for big PDF files.  (Implies -struct.)
74
75       -isodates
76              Prints dates in ISO-8601 format (including the time zone).
77
78       -rawdates
79              Prints the raw (undecoded) date strings, directly from  the  PDF
80              file.
81
82       -dests Print a list of all named destinations. If a page range is spec‐
83              ified using "-f" and "-l", only destinations in the  page  range
84              are listed.
85
86       -enc encoding-name
87              Sets  the  encoding  to  use  for  text output. This defaults to
88              "UTF-8".
89
90       -listenc
91              Lits the available encodings
92
93       -opw password
94              Specify the owner password for the  PDF  file.   Providing  this
95              will bypass all security restrictions.
96
97       -upw password
98              Specify the user password for the PDF file.
99
100       -v     Print copyright and version information.
101
102       -h     Print usage information.  (-help and --help are equivalent.)
103

EXIT CODES

105       The Xpdf tools use the following exit codes:
106
107       0      No error.
108
109       1      Error opening a PDF file.
110
111       2      Error opening an output file.
112
113       3      Error related to PDF permissions.
114
115       99     Other error.
116

AUTHOR

118       The  pdfinfo software and documentation are copyright 1996-2011 Glyph &
119       Cog, LLC.
120

SEE ALSO

122       pdfdetach(1), pdffonts(1), pdfimages(1),  pdftocairo(1),  pdftohtml(1),
123       pdftoppm(1),  pdftops(1), pdftotext(1) pdfseparate(1), pdfsig(1), pdfu‐
124       nite(1)
125
126
127
128                                15 August 2011                      pdfinfo(1)
Impressum