{
    "content": [
        {
            "type": "text",
            "text": "# ps2ascii (man)\n\n## NAME\n\nps2ascii - Ghostscript translator from PostScript or PDF to ASCII\n\n## SYNOPSIS\n\nps2ascii [ input.ps [ output.txt ] ]\nps2ascii input.pdf [ output.txt ]\n\n## DESCRIPTION\n\nps2ascii uses gs(1) to extract ASCII text from PostScript(tm) or Adobe Portable Document For‐‐\nmat (PDF) files. If no files are specified on the command line, gs reads from standard input;\nbut PDF input must come from an explicitly-named file, not standard input.  If no output file\nis specified, the ASCII text is written to standard output.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **FILES**\n- **SEE ALSO**\n- **VERSION**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "ps2ascii",
        "section": "",
        "mode": "man",
        "summary": "ps2ascii - Ghostscript translator from PostScript or PDF to ASCII",
        "synopsis": "ps2ascii [ input.ps [ output.txt ] ]\nps2ascii input.pdf [ output.txt ]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "pstotext",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pstotext/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "FILES",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "VERSION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 6,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "ps2ascii - Ghostscript translator from PostScript or PDF to ASCII\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "ps2ascii [ input.ps [ output.txt ] ]\nps2ascii input.pdf [ output.txt ]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "ps2ascii uses gs(1) to extract ASCII text from PostScript(tm) or Adobe Portable Document For‐‐\nmat (PDF) files. If no files are specified on the command line, gs reads from standard input;\nbut PDF input must come from an explicitly-named file, not standard input.  If no output file\nis specified, the ASCII text is written to standard output.\n\nps2ascii doesn't look at font encoding, and isn't very good at dealing with kerning,  so  for\nPostScript (but not currently PDF), you might consider pstotext (see below).\n",
                "subsections": []
            },
            "FILES": {
                "content": "Run  \"gs -h\" to find the location of Ghostscript documentation on your system, from which you\ncan get more details.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "pstotext(1), http://www.research.digital.com/SRC/virtualpaper/pstotext.html\n",
                "subsections": []
            },
            "VERSION": {
                "content": "This document was last revised for Ghostscript version 9.55.0.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Artifex  Software,  Inc.  are  the  primary  maintainers  of  Ghostscript.   David  M.  Jones\n<dmjones@theory.lcs.mit.edu> made substantial improvements to ps2ascii.\n\n\n\n9.55.0                                    27 September 2021                              PS2ASCII(1)",
                "subsections": []
            }
        }
    }
}