Need to render or convert a PDF or PostScript file from a script or document workflow? Ghostscript interprets both formats and provides command-line controls for processing and rendering pages.
Convert and render PDF or PostScript files
Ghostscript reads PDF and PostScript documents, renders their pages, and converts files to other output formats. Command-line options let a script specify the input, output device, and processing settings, making repeated or batch jobs easier to automate.
PDF output can be compressed with control over the conversion settings. The DOCX output device writes Microsoft Word documents, while raster and vector output devices support other rendering and conversion workflows. OCR device support can turn scanned images into searchable PDF documents.
Arrange pages and prepare print output
N-up imposition places multiple document pages on an output sheet. Ghostscript supports this workflow with PDF, PCL, and XPS input, as well as PostScript, with handling tailored to the input type.
For color and print processing, the graphics library supports ICC color management and can simulate overprinting and spot colors. A text-to-black setting can render input text in solid black, including text fills and strokes.
Call Ghostscript from software
Ghostscript works on its own from the command prompt, or it can be built into an application through its SDK interface. Bindings are available for Python, C#, and Java, which lets developers invoke the interpreter from programs written in those languages.
Pros
- Interprets PDF and PostScript files
- Supports PDF compression and conversion to DOCX
- Includes N-up imposition and overprint simulation
- Offers ICC color management and OCR output
Cons
- The standalone application is controlled through a command line
System requirements: 32-bit and 64-bit
Can Ghostscript turn scanned images into searchable PDFs?
Yes. Its OCR device support can convert scanned raster images and other image inputs into searchable PDF documents.
Can Ghostscript create a Word document?
Yes. The DOCX output device can write Microsoft Word DOCX files.
What does N-up imposition do?
It prints several document pages side by side on one sheet, for example four pages per sheet for handouts.