Questions tagged [ghostscript]

Ghostscript is a utility used for PostScript/PDF preview and printing.

Filter by
Sorted by
Tagged with
0
votes
0answers
16 views

CUPS: `stopped “Filter failed”' when trying to print after ubuntu update

D [15/Apr/2021:02:45:21 -0500] [Job 21] PID 20964 (/usr/lib/cups/backend/socket) exited with no errors. D [15/Apr/2021:02:45:21 -0500] [Job 21] Start rendering... D [15/Apr/2021:02:45:21 -0500] [Job ...
0
votes
0answers
25 views

How to specify the title of the PDF file GS produces?

I'm using this gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -dAutoRotatePages=/None -sOutputFile=finished.pdf file1.pdf file2.pdf file3.pdf to concatenate 3 PDF files, and gs inexplicably takes the ...
0
votes
1answer
25 views

Install Ubuntu Patch to solve CVE

Can someone please help me on how to install the following patch to solve a CVE? https://launchpad.net/ubuntu/+source/ghostscript/9.22~dfsg+1-0ubuntu1
1
vote
1answer
237 views

Errors converting PDF with Imagemagick on Ubuntu 18

On Ubuntu 18.04.4 LTS on Azure with a Bitnami WordPress stack, I'm trying to get Imagemagick and Ghostscript working so WordPress will create PDF thumbnails. A simple conversion test gives an error. ...
6
votes
1answer
1k views

My printer adds a blue background [closed]

I'm running Ubuntu 18.04LTS. I have an HP Photosmart C7280 color printer. The printer is attached over the local network. This has worked nicely for me for a long time. But today, suddenly, ...
1
vote
1answer
1k views

How can I merge PDF files without duplicating fonts?

I need to merge about a 100 PDF files into one where each file uses more or less the same unsubsetted fonts. All the options I have tried so far (pdfunite, gs, etc.) are not intelligent about font ...
2
votes
0answers
277 views

Ubuntu 18.04 inverted colors in PDF print after reinstalling libgs9-common package

After upgrading to Ubuntu 18.04, CUPS would no longer print PDFs. I checked /var/log/cups/error.log and discovered these error messages: /base/gsicc_manage.c:1244: gsicc_open_search(): Could not find ...
0
votes
1answer
683 views

Ubuntu 18.04 with OKI C301dn

The driver seems to have problems converting to PostScript. Any ideas? From error_log: D [23/Oct/2018:22:25:52 +0200] [Job 309] Started filter pstops (PID 24589) D [23/Oct/2018:22:25:52 +0200] [Job ...
1
vote
2answers
2k views

ghostscript in Ubuntu 18.04 [closed]

I am experiencing lots of issues with postscript files since I upgraded to Ubuntu 18.04. I cannot visualize them with gv, evince, or other similar programs. I cannot parse them into ImageMagick. Here ...
2
votes
1answer
4k views

How to install newer version of ghostscript on server than provided from ubuntu?

I need to upgrade my ghostscript version from 9.22 to 9.25 on my server. I am running a laravel forge droplet on digital ocean. I have tried the following: sudo apt-get update sudo apt-get install ...
7
votes
6answers
4k views

Render LaTeX is not working in Inkscape after installing to 18.04

I have recently installed Ubuntu 18.04 (Not upgrade, a clean install). In Ubuntu 18.04, the rendering LaTeX function in Inkscape is not working. Following is the error output: *** WARNING - the ...
3
votes
1answer
487 views

Arial font with Ghostview

After upgrading to Ubuntu 18.04 from Ubuntu 17.10, I am unable to view some encapsulated postscript images (EPS) that use Arial font. I can view some images with with Arial font, but not all. I'm ...
1
vote
1answer
5k views

gs: /MATLAB/ /bin/glnxa64/libtiff.so.5: no version information available (required by /usr/lib/libgs.so.9)

When I use in Matlab !epstopdf "output.eps" --outfile=output.pdf then I get one of the following message: gs: /opt/MATLAB/R2016b/bin/glnxa64/libtiff.so.5: no version information available (...
9
votes
1answer
7k views

Broken ghostscript configuration

Something has gone awry with my ghostscript configuration, whereby I get the following errors when, for example, using epstopdf ./base/gsicc_manage.c:1088: gsicc_open_search(): Could not find ...
1
vote
1answer
829 views

How can I install a pdf font?

I am trying to save a matplotlib plot as a pdf page as shown in this example. Everything is fine until tex fonts are used. That is, I can display plots that use tex fonts, but not save them as a pdf. ...
1
vote
0answers
600 views

ImageMagick, Ghostscript and PDFs

I have a problem with ImageMagick and Ghostscript converting PDF to JPG. Sometimes I get the dreaded convert multipage.pdf multipage.jpg convert: no images defined `multipage.jpg' @ error/convert....
3
votes
2answers
16k views

Opening a .PS from command line

I want to open a .PS (postscript file) having produced it from a .csh script running a series of GMT commands preferably using ghostview. I am trying: gv plot.ps This however opens ghostview but not ...
4
votes
0answers
1k views

Adding a logo in a pdf by Ghostscript

I am trying to add a logo in a pdf by Ghostscript. Currently, I am adding a text with the use of this Postscript .ps file: << /EndPage { 2 eq { pop false } { gsave ...
1
vote
0answers
114 views

Ghostscript output to file with ESC-P sequences

For a project (printing nanofluids with an Epson printer) I want to see the the code that the computer sends to the printer. I am running Ubuntu 16.04 and have an Epson Stylus SX600FW printer. Using ...
7
votes
4answers
8k views

Convert pdf to monochrome black-and-white via command line

I have a 65-page PDF file that has text in a dark grey. (Actual text, not a picture/image of text.) Printing on my B/W printer, the text gets all blurry, because the printer is trying to make it less ...
4
votes
1answer
4k views

Update Ghostscript on Ubuntu 14.04

First of all, I am well aware of this question: What's the easiest way to upgrade Ghostscript?. Unfortunately none of the answers worked. I can find deb files from this list. There, I am ...
1
vote
2answers
2k views

Problem with accents when using ImageMagick or Ghostscript to convert PDF to Image

I am having a problem when converting PDF to Images using ImageMagick or Ghostscript. All accented characters disappear from the converted image. I found a couple of people having the same problem and ...
0
votes
1answer
404 views

KLatexFormula fails to show any formula

I have freshly installed KLatexFormula under a 14.04 LTS ubuntu. It starts fine, but it does not convert any formula I type. instead it opens an error window with the following text: gs reported an ...
1
vote
1answer
2k views

embedding external fonts into pdf-file

the acroreader is showing missing fonts in one pdf-file (WPMathB,WPMathA WP Greek Helve, ...) which can be easily downloaded from http://www.fontpalace.com. However, the ghostscript command fails, ...
3
votes
1answer
3k views

How can I extract pages containing a given string from a PDF file?

I have a PDF file containing 100 pages. I would like to extract those pages containing a particular string. How can I achieve this? Maybe by using ghostscript on the command line? For what it's ...
1
vote
1answer
169 views

how do i write EPS and postScript programs? [closed]

I am trying to write EPS scripts. %! 100 100 moveto /Symbol 12 selectfont (p ) show /Times-Roman 12 selectfont (is less than 4) show I suspect that beginning the script with %! is not correct, or ...
0
votes
2answers
2k views

How to find ghostscript files in ubuntu?

I'm working with the terminal and im trying to find ghostscript files in all the computer. How can I do that? I know that I must use the comand "find", but is there anything else I should type?
2
votes
1answer
2k views

Ubuntu 12.10 : error installing Canon UFR2 Drivers

I tried to install the drivers for my Canon MF4150 that I successfully used under my previous 10.04 instance. But when I run the command to install .deb packages, it gives me an error complaining that ...
69
votes
5answers
98k views

How to reduce the size of a pdf file?

I'm looking for a way in Ubuntu to reduce the size of a pdf (by reducing the quality of the images). I know that this can be done in Ghostscript by typing the following command in terminal: gs -...
1
vote
1answer
1k views

How to make a simple ubuntu GUI application from shell script code?

I want this shell script convert to a GUI ubuntu application Any one please help me to make a Ubuntu application. This shell script is used to download Hindu news paper.
11
votes
2answers
16k views

What's the easiest way to upgrade Ghostscript?

I have version 8 of Ghostscript on my Ubuntu 10.04 server. What is the easiest way to install version 9? Source install? PPA? Something else?
7
votes
2answers
849 views

Is there a recommended PPA for Ghostscript 9 on 10.04?

Recently we keep receiving PDFs that hang Ghostscript at 100% CPU when printed. Since at the office we are still on Lucid, I tried printing those same PDFs from a Precise VM as a test, and they work ...
1
vote
2answers
2k views

Free URW postscript fonts versus TrueType

Ubuntu includes the free commercial URW++ postscript fonts in /usr/share/fonts/type1/gsfonts (from the gsfonts package). I've seen that the full set are also available in TrueType format (including ...
2
votes
0answers
215 views

Can I upgrade ghostscript from source on 10.04 over existing gs version 8.71? [closed]

I would like to upgrade to a newer version of ghostscript (latest is 9.05, but anything in the 9.x series). Can I build and install from source over the top of the existing install? I had a dry-run ...
0
votes
1answer
2k views

How do I combine multiple pdf files to an a4 papersize output?

currently I am using gs -sPAPERSIZE=a4 -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite sOutputFile=combined.pdf input1.pdf input2.pdf input3.pdf for combining my pdf files, however I have noticed, that ...
6
votes
4answers
8k views

How to install older version of GhostScript?

This is second time I get segmentation fault error when I try to run GhostScript on any PDF file with pdfwrite First time it was my previous Ubuntu 11.04 distro, which afterwards I completely remove (...
2
votes
1answer
1k views

How to Upgrade Ghost Script to the latest version?

I have default ghostscript version 8.71 installed in my Ubuntu Machine i would like to update it to the latest version I download the file from http://downloads.ghostscript.com/public/ghostpdl-9.01....
3
votes
1answer
1k views

How Do I Export Pages from Browser with Embedded Hyperlinks?

Made a sad discovery today. I have Ubuntu 10.04 LTS. My client is in the ad business and she had a marketing competition task for me. She wanted me to visit websites of the competitors, and export the ...
20
votes
0answers
17k views

Reduce filesize of a scanned PDF [duplicate]

I've got a PDF of a scanned document that's around 20MB and I need to drastically reduce the filesize to be able to email it. I've tried gs -sDevice=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/...