Questions tagged [ghostscript]

{ghostscript} concerns the Ghostscript PDF and Postscript interpreter and renderer.

Ghostscript is a Postscript and PDF interpreter and rendering engine developed under the GPL license. Ghostscript also works as a file format converter between PostScript and PDF as well as a "virtual printer" for PDF creators.

Ghostscript is commonly used with GhostView which is a graphical interface to the interpreter.

162 questions
5
votes
3 answers

How does each of ps2pdf, pdfcrop, pdftops, epstool and epstopdf invoke GhostScript behind the scene?

I want to know the syntax to invoke GhostScript directly to get the same effect as each of the following command does. ps2pdf input.ps pdfcrop --hires input pdftops -eps input.pdf epstool --copy --bbox input.eps output.eps epstopdf --hires…
Display Name
  • 46,933
5
votes
1 answer

How to prevent GhostScript from rastering the font when converting PDF or EPS to EPS?

I want to convert PDF or EPS to EPS using the following commands, respectively. gs -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=epswrite -sOutputFile=output.eps input.pdf or gs -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=epswrite -sOutputFile=output.eps…
Display Name
  • 46,933
3
votes
2 answers

GhostScript and GhostView

I am about to install W32TeX on a flash drive. Among the files to be installed (via a vbs script) are GhostScript and GhostView. My question is, do I really need GS and GV, because I only create very simple personal letters, with no PS drawings,…
2
votes
0 answers

Invert colours of a PDF with Ghostscript

This question has been asked several times on StackExchange but I could not find a solution that really works. Is there a (desirably) pure ghostscript way to invert the colours of a PDF? The command gs \ -sOutputFile=output.pdf \ -sDEVICE=pdfwrite…
220284
  • 209
2
votes
1 answer

How to make a single GhostScript call to do conversion, compression, and cropping?

I am using TeXLive 2010 and do my job using the following workflow with 6 steps. I want to reduce the number of steps as minimal as possible because I will apply the workflow to the web based system. latex %1 dvips %1 ps2pdf -dPDFSETTINGS#/prepress…
Display Name
  • 46,933
2
votes
2 answers

Ghostscript 8.57: Unrecoverable error, exit code 1

I do have a problem in producing a pdf (latex -> dvips -> ps2pdf) with an error saying Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- …
David H
  • 133
1
vote
1 answer

Ghostscript Error with pst-vectorian

When trying to use pst-vectorian, I'm getting an error: GPL Ghostscript 9.54.0: Unrecoverable error, exit code 1 Here's my code: \documentclass{report} \usepackage{psvectorian} \newcommand{\ornamentalBreak}{% \begin{center} …
0
votes
0 answers

Some sort of Ghostscript issue due to figure

I am encountering an error that I am very confused by. My usual method of googling and looking at other answers has not helped. I am trying to include some image files, and I get the following error. ### ps2pdf -dCompatibilityLevel=1.5 …
A. S.
  • 101