{
    "mode": "info",
    "parameter": "ps2pdf",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/info/ps2pdf/json",
    "generated": "2026-08-04T19:18:43Z",
    "synopsis": "ps2pdf  [options...] {input.[e]ps|-} [output.pdf|-]\nps2pdf12  [options...] {input.[e]ps|-} [output.pdf|-]\nps2pdf13  [options...] {input.[e]ps|-} [output.pdf|-]\nps2pdf14  [options...] {input.[e]ps|-} [output.pdf|-]",
    "sections": {
        "NAME": {
            "content": "ps2pdf - Convert PostScript to PDF using ghostscript\nps2pdf12  - Convert PostScript to PDF 1.2 (Acrobat 3-and-later compati-\nble) using ghostscript\nps2pdf13 - Convert PostScript to PDF 1.3 (Acrobat 4-and-later  compati-\nble) using ghostscript\nps2pdf14  - Convert PostScript to PDF 1.4 (Acrobat 5-and-later compati-\nble) using ghostscript\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "ps2pdf  [options...] {input.[e]ps|-} [output.pdf|-]\nps2pdf12  [options...] {input.[e]ps|-} [output.pdf|-]\nps2pdf13  [options...] {input.[e]ps|-} [output.pdf|-]\nps2pdf14  [options...] {input.[e]ps|-} [output.pdf|-]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "The ps2pdf scripts are work-alikes for  nearly  all  the  functionality\n(but not the user interface) of Adobe's Acrobat(TM) Distiller(TM) prod-\nuct: they convert PostScript files to Portable  Document  Format  (PDF)\nfiles.\n\nIf the output filename is not specified, the output is placed in a file\nof the same name with a '.pdf' extension in the current working  direc-\ntory.  Either  the  input filename or the output filename can be '-' to\nrequest reading from stdin or writing  to  stdout,  respectively,  when\nused as a filter.\n\nThe three scripts differ as follows:\n\n-      ps2pdf12 will always produce PDF 1.2 output (Acrobat 3-and-later\ncompatible).\n\n-      ps2pdf13 will always produce PDF 1.3 output (Acrobat 4-and-later\ncompatible).\n\n-      ps2pdf14 will always produce PDF 1.4 output (Acrobat 5-and-later\ncompatible).\n\n-      ps2pdf per se currently produces PDF 1.4 output.  However,  this\nmay  change  in  the future. If you care about the compatibility\nlevel of the output, use ps2pdf12, ps2pdf13 or ps2pdf14, or  use\nthe -dCompatibilityLevel=1.x switch in the command line.\n\nThere  are  some limitations in ps2pdf's conversion. See the HTML docu-\nmentation for more information. A large number of  Adobe  Distiller(TM)\nparameters  which  can be used to control the conversion are also docu-\nmented there, including instructions for  generating  PDF/X  and  PDF/A\ndocuments.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "The ps2pdf scripts use the same options as gs(1).\n",
            "subsections": []
        },
        "EXAMPLES": {
            "content": "Converting a figure.ps to figure.pdf:\n\nps2pdf figure.ps\n\nA conversion with more specifics:\n\nps2pdf -dPDFSETTINGS=/prepress figure.ps proof.pdf\n\nConverting as part of a pipe:\n\nmakereport.pl -t ps | ps2pdf -dCompatibilityLevel=1.3 - - | lpr\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "gs(1), ps2pdfwr(1),\nVectorDevices.htm in the Ghostscript documentation\n",
            "subsections": []
        },
        "BUGS": {
            "content": "See    http://bugs.ghostscript.com/   and   the   Usenet   news   group\ncomp.lang.postscript.\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.\nThis manpage by George Ferguson.\n\n9.55.0                         27 September 2021                     PS2PDF(1)",
            "subsections": []
        }
    },
    "summary": "ps2pdf - Convert PostScript to PDF using ghostscript ps2pdf12  - Convert PostScript to PDF 1.2 (Acrobat 3-and-later compati- ble) using ghostscript ps2pdf13 - Convert PostScript to PDF 1.3 (Acrobat 4-and-later  compati- ble) using ghostscript ps2pdf14  - Convert PostScript to PDF 1.4 (Acrobat 5-and-later compati- ble) using ghostscript",
    "flags": [],
    "examples": [
        "Converting a figure.ps to figure.pdf:",
        "ps2pdf figure.ps",
        "A conversion with more specifics:",
        "ps2pdf -dPDFSETTINGS=/prepress figure.ps proof.pdf",
        "Converting as part of a pipe:",
        "makereport.pl -t ps | ps2pdf -dCompatibilityLevel=1.3 - - | lpr"
    ],
    "see_also": [
        {
            "name": "gs",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/gs/1/json"
        },
        {
            "name": "ps2pdfwr",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/ps2pdfwr/1/json"
        }
    ]
}