Ghostscript is a utility used for PostScript/PDF preview and printing.
Questions tagged [ghostscript]
47 questions
103
votes
11 answers
How to reduce the size of a PDF file by reducing the quality of the images?
I'm looking for a way in Ubuntu to reduce the size of a PDF file by reducing the quality of the images. I know that this can be done in Ghostscript by running the following command in terminal: gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4…
Nicole
- 1,131
- 2
- 8
- 4
20
votes
0 answers
Reduce filesize of a scanned PDF
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=/screen -dQUIET -dBATCH -sOutputFile=output.pdf…
Rob Cowell
- 841
17
votes
7 answers
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 than black. I can solve this problem…
Earthliŋ
- 641
- 2
- 11
- 29
13
votes
2 answers
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?
croceldon
- 595
10
votes
1 answer
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 default_gray.icc | ./base/gsicc_manage.c:1914:…
James
- 121
8
votes
2 answers
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 nicely. Sadly we can't migrate right now to…
Joril
- 2,433
7
votes
1 answer
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 ghostscript In accordance to this post . However as…
Brainmaniac
- 173
7
votes
6 answers
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 DELAYBIND command has been deprecated, and will be…
Apurba
- 1,438
6
votes
0 answers
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 /NimbusSanL-Reg 12 selectfont 55 20 moveto (Sample) show grestore true } ifelse }…
Theo Wilderbeek
- 111
6
votes
4 answers
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 (not because of gs), format my drive etc, and then…
zetah
- 9,891
6
votes
1 answer
My printer adds a blue background
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, everything I print gets a solid blue background. I can…
oz1cz
- 942
- 2
- 8
- 19
5
votes
1 answer
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 duplication and the merged PDF ends up with a 100…
user2771609
- 159
4
votes
2 answers
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 my plot. Instead I just get the spinning wheel.…
Alexander Peace
- 101
4
votes
1 answer
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 surprised to see that the last version of Ghostscript for…
anderstood
- 383
4
votes
1 answer
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 worth: I am using Edubuntu 12.04 LTS.
user273938
- 43