270 lines
5.7 KiB
HTML
270 lines
5.7 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of pdfinfo</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>pdfinfo</H1>
|
|
Section: User Commands (1)<BR>Updated: 15 August 2011<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
pdfinfo - Portable Document Format (PDF) document information
|
|
extractor (version 3.03)
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>pdfinfo</B>
|
|
|
|
[options]
|
|
[<I>PDF-file</I>]
|
|
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<B>Pdfinfo</B>
|
|
|
|
prints the contents of the 'Info' dictionary (plus some other useful
|
|
information) from a Portable Document Format (PDF) file.
|
|
<P>
|
|
|
|
The 'Info' dictionary contains the following values:
|
|
<P>
|
|
|
|
<DL COMPACT><DT id="1"><DD>
|
|
title
|
|
</DL>
|
|
|
|
<DL COMPACT><DT id="2"><DD>
|
|
subject
|
|
</DL>
|
|
|
|
<DL COMPACT><DT id="3"><DD>
|
|
keywords
|
|
</DL>
|
|
|
|
<DL COMPACT><DT id="4"><DD>
|
|
author
|
|
</DL>
|
|
|
|
<DL COMPACT><DT id="5"><DD>
|
|
creator
|
|
</DL>
|
|
|
|
<DL COMPACT><DT id="6"><DD>
|
|
producer
|
|
</DL>
|
|
|
|
<DL COMPACT><DT id="7"><DD>
|
|
creation date
|
|
</DL>
|
|
|
|
<DL COMPACT><DT id="8"><DD>
|
|
modification date
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
In addition, the following information is printed:
|
|
<P>
|
|
|
|
<DL COMPACT><DT id="9"><DD>
|
|
tagged (yes/no)
|
|
</DL>
|
|
|
|
<DL COMPACT><DT id="10"><DD>
|
|
form (AcroForm / XFA / none)
|
|
</DL>
|
|
|
|
<DL COMPACT><DT id="11"><DD>
|
|
javascript (yes/no)
|
|
</DL>
|
|
|
|
<DL COMPACT><DT id="12"><DD>
|
|
page count
|
|
</DL>
|
|
|
|
<DL COMPACT><DT id="13"><DD>
|
|
encrypted flag (yes/no)
|
|
</DL>
|
|
|
|
<DL COMPACT><DT id="14"><DD>
|
|
print and copy permissions (if encrypted)
|
|
</DL>
|
|
|
|
<DL COMPACT><DT id="15"><DD>
|
|
page size
|
|
</DL>
|
|
|
|
<DL COMPACT><DT id="16"><DD>
|
|
file size
|
|
</DL>
|
|
|
|
<DL COMPACT><DT id="17"><DD>
|
|
linearized (yes/no)
|
|
</DL>
|
|
|
|
<DL COMPACT><DT id="18"><DD>
|
|
PDF version
|
|
</DL>
|
|
|
|
<DL COMPACT><DT id="19"><DD>
|
|
metadata (only if requested)
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
The options -listenc, -meta, -js, -struct, and -struct-text only print the requested information. The 'Info' dictionary and related data listed above is not printed. At most one of these five options may be used.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="20"><B>-f</B><I> number</I>
|
|
|
|
<DD>
|
|
Specifies the first page to examine. If multiple pages are requested
|
|
using the "-f" and "-l" options, the size of each requested page (and,
|
|
optionally, the bounding boxes for each requested page) are printed.
|
|
Otherwise, only page one is examined.
|
|
<DT id="21"><B>-l</B><I> number</I>
|
|
|
|
<DD>
|
|
Specifies the last page to examine.
|
|
<DT id="22"><B>-box</B>
|
|
|
|
<DD>
|
|
Prints the page box bounding boxes: MediaBox, CropBox, BleedBox,
|
|
TrimBox, and ArtBox.
|
|
<DT id="23"><B>-meta</B>
|
|
|
|
<DD>
|
|
Prints document-level metadata. (This is the "Metadata" stream from
|
|
the PDF file's Catalog object.)
|
|
<DT id="24"><B>-js</B>
|
|
|
|
<DD>
|
|
Prints all JavaScript in the PDF.
|
|
<DT id="25"><B>-struct</B>
|
|
|
|
<DD>
|
|
Prints the logical document structure of a Tagged-PDF file.
|
|
<DT id="26"><B>-struct-text</B>
|
|
|
|
<DD>
|
|
Print the textual content along with the document structure of a Tagged-PDF
|
|
file. Note that extracting text this way might be slow for big PDF files.
|
|
(Implies
|
|
<B>-struct</B>.)
|
|
|
|
<DT id="27"><B>-isodates</B>
|
|
|
|
<DD>
|
|
Prints dates in ISO-8601 format (including the time zone).
|
|
<DT id="28"><B>-rawdates</B>
|
|
|
|
<DD>
|
|
Prints the raw (undecoded) date strings, directly from the PDF file.
|
|
<DT id="29"><B>-dests</B>
|
|
|
|
<DD>
|
|
Print a list of all named destinations. If a page range is specified using "-f" and "-l", only
|
|
destinations in the page range are listed.
|
|
<DT id="30"><B>-enc</B><I> encoding-name</I>
|
|
|
|
<DD>
|
|
Sets the encoding to use for text output. This defaults to "UTF-8".
|
|
<DT id="31"><B>-listenc</B>
|
|
|
|
<DD>
|
|
Lits the available encodings
|
|
<DT id="32"><B>-opw</B><I> password</I>
|
|
|
|
<DD>
|
|
Specify the owner password for the PDF file. Providing this will
|
|
bypass all security restrictions.
|
|
<DT id="33"><B>-upw</B><I> password</I>
|
|
|
|
<DD>
|
|
Specify the user password for the PDF file.
|
|
<DT id="34"><B>-v</B>
|
|
|
|
<DD>
|
|
Print copyright and version information.
|
|
<DT id="35"><B>-h</B>
|
|
|
|
<DD>
|
|
Print usage information.
|
|
(<B>-help</B>
|
|
|
|
and
|
|
<B>--help</B>
|
|
|
|
are equivalent.)
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>EXIT CODES</H2>
|
|
|
|
The Xpdf tools use the following exit codes:
|
|
<DL COMPACT>
|
|
<DT id="36">0<DD>
|
|
No error.
|
|
<DT id="37">1<DD>
|
|
Error opening a PDF file.
|
|
<DT id="38">2<DD>
|
|
Error opening an output file.
|
|
<DT id="39">3<DD>
|
|
Error related to PDF permissions.
|
|
<DT id="40">99<DD>
|
|
Other error.
|
|
</DL>
|
|
<A NAME="lbAG"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
The pdfinfo software and documentation are copyright 1996-2011 Glyph &
|
|
Cog, LLC.
|
|
<A NAME="lbAH"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+pdfdetach">pdfdetach</A></B>(1),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+pdffonts">pdffonts</A></B>(1),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+pdfimages">pdfimages</A></B>(1),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+pdftocairo">pdftocairo</A></B>(1),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+pdftohtml">pdftohtml</A></B>(1),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+pdftoppm">pdftoppm</A></B>(1),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+pdftops">pdftops</A></B>(1),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+pdftotext">pdftotext</A></B>(1)
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+pdfseparate">pdfseparate</A></B>(1),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+pdfsig">pdfsig</A></B>(1),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+pdfunite">pdfunite</A></B>(1)
|
|
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="41"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="42"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="43"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="44"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="45"><A HREF="#lbAF">EXIT CODES</A><DD>
|
|
<DT id="46"><A HREF="#lbAG">AUTHOR</A><DD>
|
|
<DT id="47"><A HREF="#lbAH">SEE ALSO</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:22 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|