{
    "content": [
        {
            "type": "text",
            "text": "# PS2EPSI (info)\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\noutput a new file which conforms to Adobe's Encapsulated PostScript In-\nterchange  (EPSI) format.  EPSI is a special form of encapsulated Post-\nScript (EPS) which adds to the beginning of the file  in  the  form  of\nPostScript  comments  a  bitmapped version of the final displayed page.\nPrograms which understand EPSI (usually word  processors  or  DTP  pro-\ngrams)  can  use this bitmap to give a preview version on screen of the\nPostScript.  The displayed quality is often not very  good  (e.g.,  low\nresolution,  no  colours),  but the final printed version uses the real\nPostScript, and thus has the 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": "info",
        "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": 11,
                "subsections": []
            },
            {
                "name": "USAGE",
                "lines": 15,
                "subsections": []
            },
            {
                "name": "LIMITATIONS",
                "lines": 9,
                "subsections": []
            },
            {
                "name": "COMPATIBILITY",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "FILES",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "VERSION",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 3,
                "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\noutput a new file which conforms to Adobe's Encapsulated PostScript In-\nterchange  (EPSI) format.  EPSI is a special form of encapsulated Post-\nScript (EPS) which adds to the beginning of the file  in  the  form  of\nPostScript  comments  a  bitmapped version of the final displayed page.\nPrograms which understand EPSI (usually word  processors  or  DTP  pro-\ngrams)  can  use this bitmap to give a preview version on screen of the\nPostScript.  The displayed quality is often not very  good  (e.g.,  low\nresolution,  no  colours),  but the final printed version uses the real\nPostScript, and thus has the 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\nEPSI file.  If the output filename is omitted, it is generated from the\ninput filename.  When a standard extension (\".ps\",  \".cps\",  \".eps\"  or\n\".epsf\") is used, it is replaced with the output extension \".epsi\".  On\nDOS systems the command is:\n\nps2epsi infile.ps outfile.epi\n\nwhere \"infile.ps\" is the original PostScript file, and \"outfile.epi\" is\nthe name of the output file.\n",
                "subsections": []
            },
            "LIMITATIONS": {
                "content": "Not  every  PostScript  file  can be encapsulated successfully, because\nthere are restrictions on what PostScript constructs a correct encapsu-\nlated  file  may  contain.   ps2epsi does a little extra work to try to\nhelp encapsulation, and it automatically calculates  the  bounding  box\nrequired  for all encapsulated PostScript files, so most of the time it\ndoes a pretty good job. There are certain to be cases,  however,  where\nthe  encapsulation does not work because of the content of the original\nPostScript file.\n",
                "subsections": []
            },
            "COMPATIBILITY": {
                "content": "The Framemaker DTP system is one  application  which  understands  EPSI\nfiles,  and  ps2epsi has been tested on a number of PostScript diagrams\nfrom a variety of sources, using Framemaker 3.0 on a  Sun  workstation.\nFramemaker  on  other  platforms should be able to use these files, al-\nthough 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.   How-\never, the content may be obsolete, or inconsistent with ps2epsi.txt.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "George Cameron\n\n9.55.0                         27 September 2021                    PS2EPSI(1)",
                "subsections": []
            }
        }
    }
}