{
    "content": [
        {
            "type": "text",
            "text": "# pdfinfo (man)\n\n## NAME\n\npdfinfo - Portable Document Format (PDF) document information extractor (version 3.03)\n\n## SYNOPSIS\n\npdfinfo [options] [PDF-file]\n\n## DESCRIPTION\n\nPdfinfo  prints  the  contents  of the ´Info' dictionary (plus some other useful information)\nfrom a Portable Document Format (PDF) file.\n\n## TLDR\n\n> Portable Document Format (PDF) file information viewer.\n\n- Print PDF file information:\n  `pdfinfo {{path/to/file.pdf}}`\n- Specify user password for PDF file to bypass security restrictions:\n  `pdfinfo -upw {{password}} {{path/to/file.pdf}}`\n- Specify owner password for PDF file to bypass security restrictions:\n  `pdfinfo -opw {{password}} {{path/to/file.pdf}}`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS** (18 subsections)\n- **EXIT CODES**\n- **AUTHOR**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "pdfinfo",
        "section": "",
        "mode": "man",
        "summary": "pdfinfo - Portable Document Format (PDF) document information extractor (version 3.03)",
        "synopsis": "pdfinfo [options] [PDF-file]",
        "tldr_summary": "Portable Document Format (PDF) file information viewer.",
        "tldr_examples": [
            {
                "description": "Print PDF file information",
                "command": "pdfinfo {{path/to/file.pdf}}"
            },
            {
                "description": "Specify user password for PDF file to bypass security restrictions",
                "command": "pdfinfo -upw {{password}} {{path/to/file.pdf}}"
            },
            {
                "description": "Specify owner password for PDF file to bypass security restrictions",
                "command": "pdfinfo -opw {{password}} {{path/to/file.pdf}}"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "-f",
                "long": null,
                "arg": null,
                "description": "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."
            },
            {
                "flag": "-l",
                "long": null,
                "arg": null,
                "description": "Specifies the last page to examine."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Catalog object.)"
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Prints custom and standard metadata."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Prints the logical document structure of a Tagged-PDF file."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "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 -struct.)"
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "rently, this is limited to Annotations. Note: only URLs referenced by the PDF objects such as Link Annotations are listed. pdfinfo does not attempt to extract strings matching http://... from the text content."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Prints dates in ISO-8601 format (including the time zone)."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Prints the raw (undecoded) date strings, directly from the PDF file."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "\"-l\", only destinations in the page range are listed."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Sets the encoding to use for text output. This defaults to \"UTF-8\"."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Lits the available encodings"
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Specify the owner password for the PDF file. Providing this will bypass all security restrictions."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Specify the user password for the PDF file."
            },
            {
                "flag": "-v",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-h",
                "long": "--help",
                "arg": null,
                "description": ""
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "pdfdetach",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pdfdetach/1/json"
            },
            {
                "name": "pdffonts",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pdffonts/1/json"
            },
            {
                "name": "pdfimages",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pdfimages/1/json"
            },
            {
                "name": "pdftocairo",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pdftocairo/1/json"
            },
            {
                "name": "pdftohtml",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pdftohtml/1/json"
            },
            {
                "name": "pdftoppm",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pdftoppm/1/json"
            },
            {
                "name": "pdftops",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pdftops/1/json"
            },
            {
                "name": "pdftotext",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pdftotext/1/json"
            },
            {
                "name": "pdfseparate",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pdfseparate/1/json"
            },
            {
                "name": "pdfsig",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pdfsig/1/json"
            },
            {
                "name": "pdfunite",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pdfunite/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 38,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-f",
                        "lines": 4,
                        "flag": "-f"
                    },
                    {
                        "name": "-l",
                        "lines": 2,
                        "flag": "-l"
                    },
                    {
                        "name": "-box",
                        "lines": 1
                    },
                    {
                        "name": "-meta",
                        "lines": 2
                    },
                    {
                        "name": "-custom",
                        "lines": 2
                    },
                    {
                        "name": "-js",
                        "lines": 1
                    },
                    {
                        "name": "-struct",
                        "lines": 2
                    },
                    {
                        "name": "-struct-text",
                        "lines": 4
                    },
                    {
                        "name": "-url",
                        "lines": 4
                    },
                    {
                        "name": "-isodates",
                        "lines": 2
                    },
                    {
                        "name": "-rawdates",
                        "lines": 2
                    },
                    {
                        "name": "-dests",
                        "lines": 2
                    },
                    {
                        "name": "-enc",
                        "lines": 2
                    },
                    {
                        "name": "-listenc",
                        "lines": 2
                    },
                    {
                        "name": "-opw",
                        "lines": 3
                    },
                    {
                        "name": "-upw",
                        "lines": 2
                    },
                    {
                        "name": "-v",
                        "lines": 1,
                        "flag": "-v"
                    },
                    {
                        "name": "-h -help --help",
                        "lines": 1,
                        "flag": "-h",
                        "long": "--help"
                    }
                ]
            },
            {
                "name": "EXIT CODES",
                "lines": 12,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 6,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "pdfinfo - Portable Document Format (PDF) document information extractor (version 3.03)\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "pdfinfo [options] [PDF-file]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Pdfinfo  prints  the  contents  of the ´Info' dictionary (plus some other useful information)\nfrom a Portable Document Format (PDF) file.\n\nIf PDF-file is ´-', it reads the PDF file from stdin.\n\nThe ´Info' dictionary contains the following values:\n\ntitle\nsubject\nkeywords\nauthor\ncreator\nproducer\ncreation date\nmodification date\n\nIn addition, the following information is printed:\n\ncustom metadata (yes/no)\nmetadata stream (yes/no)\ntagged (yes/no)\nuserproperties (yes/no)\nsuspects (yes/no)\nform (AcroForm / XFA / none)\njavascript (yes/no)\npage count\nencrypted flag (yes/no)\nprint and copy permissions (if encrypted)\npage size\nfile size\nlinearized (yes/no)\nPDF version\nmetadata (only if requested)\n\nThe options -listenc, -meta, -js, -struct, and -struct-text only print the requested informa‐\ntion.  The  'Info'  dictionary  and  related data listed above is not printed. At most one of\nthese five options may be used.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "-f",
                        "content": "Specifies the first page to examine.  If multiple pages are requested using  the  \"-f\"\nand \"-l\" options, the size of each requested page (and, optionally, the bounding boxes\nfor each requested page) are printed.  Otherwise, only page one is examined.\n",
                        "flag": "-f"
                    },
                    {
                        "name": "-l",
                        "content": "Specifies the last page to examine.\n",
                        "flag": "-l"
                    },
                    {
                        "name": "-box",
                        "content": ""
                    },
                    {
                        "name": "-meta",
                        "content": "Catalog object.)\n"
                    },
                    {
                        "name": "-custom",
                        "content": "Prints custom and standard metadata.\n"
                    },
                    {
                        "name": "-js",
                        "content": ""
                    },
                    {
                        "name": "-struct",
                        "content": "Prints the logical document structure of a Tagged-PDF file.\n"
                    },
                    {
                        "name": "-struct-text",
                        "content": "Print  the  textual  content  along  with the document structure of a Tagged-PDF file.\nNote that extracting text this  way  might  be  slow  for  big  PDF  files.   (Implies\n-struct.)\n"
                    },
                    {
                        "name": "-url",
                        "content": "rently, this is limited to Annotations. Note: only URLs referenced by the PDF  objects\nsuch  as  Link  Annotations  are  listed.  pdfinfo does not attempt to extract strings\nmatching http://... from the text content.\n"
                    },
                    {
                        "name": "-isodates",
                        "content": "Prints dates in ISO-8601 format (including the time zone).\n"
                    },
                    {
                        "name": "-rawdates",
                        "content": "Prints the raw (undecoded) date strings, directly from the PDF file.\n"
                    },
                    {
                        "name": "-dests",
                        "content": "\"-l\", only destinations in the page range are listed.\n"
                    },
                    {
                        "name": "-enc",
                        "content": "Sets the encoding to use for text output. This defaults to \"UTF-8\".\n"
                    },
                    {
                        "name": "-listenc",
                        "content": "Lits the available encodings\n"
                    },
                    {
                        "name": "-opw",
                        "content": "Specify  the owner password for the PDF file.  Providing this will bypass all security\nrestrictions.\n"
                    },
                    {
                        "name": "-upw",
                        "content": "Specify the user password for the PDF file.\n"
                    },
                    {
                        "name": "-v",
                        "content": "",
                        "flag": "-v"
                    },
                    {
                        "name": "-h -help --help",
                        "content": "",
                        "flag": "-h",
                        "long": "--help"
                    }
                ]
            },
            "EXIT CODES": {
                "content": "The Xpdf tools use the following exit codes:\n\n0      No error.\n\n1      Error opening a PDF file.\n\n2      Error opening an output file.\n\n3      Error related to PDF permissions.\n\n99     Other error.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "The pdfinfo software and documentation are copyright 1996-2011 Glyph & Cog, LLC.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "pdfdetach(1),   pdffonts(1),   pdfimages(1),   pdftocairo(1),   pdftohtml(1),    pdftoppm(1),\npdftops(1), pdftotext(1) pdfseparate(1), pdfsig(1), pdfunite(1)\n\n\n\n15 August 2011                                 pdfinfo(1)",
                "subsections": []
            }
        }
    }
}