Convert PostScript to PDF

Contents
[ ]

Aspose.Page for C++ lets you convert PostScript (PS) documents to PDF. The PdfSaveOptions class is used to convert a PS file to PDF document. In order to control the output quality, the quality parameters can be specified using the JpegQualityLevel parameter. The following steps summarize how to convert PS files to PDF.

  1. Load the input PostScript document in stream
  2. Instantiate an instance of PsDocument with this file stream
  3. Use theĀ PdfSaveOptions class to specify desired parameters
  4. Save the document to PDF

Following C++ code demonstrates the conversion of PS files to PDF.