{
    "content": [
        {
            "type": "text",
            "text": "# ps2epsi (man)\n\n## NAME\n\nps2epsi - generate conforming Encapsulated PostScript\n\n## SYNOPSIS\n\nps2epsi infile.ps [ outfile.epsi ] (Unix)\nps2epsi infile.ps [ outfile.epi ] (DOS)\n\n## DESCRIPTION\n\nps2epsi  uses  gs(1) to process a PostScript(tm) file and generate as output a new file which\nconforms to Adobe's Encapsulated PostScript Interchange (EPSI) format.   EPSI  is  a  special\nform  of encapsulated PostScript (EPS) which adds to the beginning of the file in the form of\nPostScript comments a bitmapped version of the final displayed page.  Programs  which  under‐\nstand  EPSI  (usually  word processors or DTP programs) can use this bitmap to give a preview\nversion on screen of the PostScript.  The displayed quality is often not very good (e.g., low\nresolution, no colours), but the final printed version uses the real PostScript, and thus has\nthe normal PostScript quality.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **USAGE**\n- **LIMITATIONS**\n- **COMPATIBILITY**\n- **FILES**\n- **SEE ALSO**\n- **VERSION**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "ps2epsi",
        "section": "",
        "mode": "man",
        "summary": "ps2epsi - generate conforming Encapsulated PostScript",
        "synopsis": "ps2epsi infile.ps [ outfile.epsi ] (Unix)\nps2epsi infile.ps [ outfile.epi ] (DOS)",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 9,
                "subsections": []
            },
            {
                "name": "USAGE",
                "lines": 14,
                "subsections": []
            },
            {
                "name": "LIMITATIONS",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "COMPATIBILITY",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "FILES",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "VERSION",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "ps2epsi - generate conforming Encapsulated PostScript\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "ps2epsi infile.ps [ outfile.epsi ] (Unix)\nps2epsi infile.ps [ outfile.epi ] (DOS)\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "ps2epsi  uses  gs(1) to process a PostScript(tm) file and generate as output a new file which\nconforms to Adobe's Encapsulated PostScript Interchange (EPSI) format.   EPSI  is  a  special\nform  of encapsulated PostScript (EPS) which adds to the beginning of the file in the form of\nPostScript comments a bitmapped version of the final displayed page.  Programs  which  under‐\nstand  EPSI  (usually  word processors or DTP programs) can use this bitmap to give a preview\nversion on screen of the PostScript.  The displayed quality is often not very good (e.g., low\nresolution, no colours), but the final printed version uses the real PostScript, and thus has\nthe normal PostScript quality.\n",
                "subsections": []
            },
            "USAGE": {
                "content": "On Unix systems invoke ps2epsi like this:\n\nps2epsi infile.ps [ outfile.epsi ]\n\nwhere \"infile.ps\" is the input file and \"outfile.epsi\" is the resulting EPSI  file.   If  the\noutput  filename is omitted, it is generated from the input filename.  When a standard exten‐\nsion (\".ps\", \".cps\", \".eps\" or \".epsf\") is used, it is replaced  with  the  output  extension\n\".epsi\".  On DOS systems the command is:\n\nps2epsi infile.ps outfile.epi\n\nwhere  \"infile.ps\" is the original PostScript file, and \"outfile.epi\" is the name of the out‐\nput file.\n",
                "subsections": []
            },
            "LIMITATIONS": {
                "content": "Not every PostScript file can be encapsulated successfully, because there are restrictions on\nwhat  PostScript  constructs  a correct encapsulated file may contain.  ps2epsi does a little\nextra work to try to help encapsulation, and it automatically calculates the bounding box re‐\nquired  for all encapsulated PostScript files, so most of the time it does a pretty good job.\nThere are certain to be cases, however, where the encapsulation does not work because of  the\ncontent of the original PostScript file.\n",
                "subsections": []
            },
            "COMPATIBILITY": {
                "content": "The  Framemaker  DTP  system is one application which understands EPSI files, and ps2epsi has\nbeen tested on a number of PostScript diagrams from a variety of  sources,  using  Framemaker\n3.0  on  a Sun workstation.  Framemaker on other platforms should be able to use these files,\nalthough I have not been able to test this.\n",
                "subsections": []
            },
            "FILES": {
                "content": "ps2epsi       Unix shell script\nps2epsi.bat   DOS batch file\nps2epsi.ps    the Ghostscript program which does the work\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "gs (1)\n",
                "subsections": []
            },
            "VERSION": {
                "content": "This document was last revised for Ghostscript version 9.55.0.  However, the content  may  be\nobsolete, or inconsistent with ps2epsi.txt.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "George Cameron\n\n\n\n9.55.0                                    27 September 2021                               PS2EPSI(1)",
                "subsections": []
            }
        }
    }
}