Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ghostscript]

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

6
votes
1answer
731 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
240 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 ...
1
vote
0answers
55 views

GhostView libraries screwed in Ubuntu 18.04 :( [closed]

I am hitting this bug. $ evince CMDs/figure.ps nocurrentpoint -14 I do have to edit manually the postscript adding this string 0 0 moveto. So the whole command is sed -i '21i 0 0 moveto' figure....
2
votes
0answers
134 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
134 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
469 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 ...
1
vote
1answer
261 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 ...
0
votes
0answers
15 views

How do I notify package maintainers that there's a new version of ghostscript that needs updating? [duplicate]

The current version of ghostscript in bionic is 9.22 but it has a major bug with rendering embedded fonts. This is fixed in 9.23. 9.22 is dated 2017-10-04 and 9.23 is dated 2018-03-21 so it's been ...
6
votes
6answers
2k 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
193 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
2k 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 (...
8
votes
1answer
3k 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
507 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
346 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....
2
votes
1answer
6k 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 ...
3
votes
0answers
492 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
75 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 ...
2
votes
2answers
4k 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 ghoscript 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
354 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
1k 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
2k 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
143 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
1k 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 ...
50
votes
4answers
74k 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.
8
votes
2answers
12k 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
769 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
1k 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
208 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
1k 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
6k 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
16k 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=/...