Ghostscript 2016

From HPC users
Jump to navigationJump to search

Introduction

Ghostscript is a suite of software based on an interpreter for Adobe Systems' PostScript and Portable Document Format (PDF) page description languages. Its main purposes are the rasterization or rendering of such page description language files, for the display or printing of document pages, and the conversion between PostScript and PDF files. ¹

Installed version(s)

These versions are installed and and currently available on environment hpc-env/6.4:

Ghostscript/9.27-GCCcore-6.4.0


Using Ghostscript

If you want to find out more about Ghostscript on the HPC Cluster, you can use the command

module spider Ghostscript

This will show you basic informations e.g. a short description and the currently installed version.

To load the desired version of the module, use the command, e.g.

module load hpc-env 6.4
module load Ghostscript

Always remember: this command is case sensitive!

The basic usage of Gostscript is as follows:

gs [switches] [file1.ps file2.ps ...] 
Most frequently used switches: (you can use # in place of =) -dNOPAUSE no pause after page | -q `quiet', fewer messages -g<width>x<height> page size in pixels | -r<res> pixels/inch resolution -sDEVICE=<devname> select device | -dBATCH exit after last file -sOutputFile=<file> select output file: - for stdout, |command for pipe, embed %d or %ld for page # Input formats: PostScript PostScriptLevel1 PostScriptLevel2 PostScriptLevel3 PDF Default output device: x11alpha

For more information you can type in

gs --help

Documentation

The full documentation on how to use Ghostscript can be found here.