Ghostscript is a utility used for PostScript/PDF preview and printing.
Questions tagged [ghostscript]
42 questions
83
votes
7 answers
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 -sDEVICE=pdfwrite -dCompatibilityLevel=1.4…
Nicole
- 931
- 1
- 7
- 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
- 831
- 2
- 10
- 18
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
- 575
- 2
- 5
- 10
11
votes
6 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ŋ
- 581
- 2
- 9
- 29
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
- 1
- 4
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,277
- 6
- 28
- 29
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,428
- 2
- 16
- 29
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…
Theo Wilderbeek
- 101
- 1
- 3
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,583
- 10
- 52
- 71
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
- 912
- 2
- 8
- 19
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
- 2
- 2
- 8
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
- 363
- 1
- 6
- 20
4
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
- 143
- 1
- 1
- 7
3
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
- 33
- 1
- 3
3
votes
1 answer
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 home pages as PDF. However, she wanted me to do…
Volomike
- 2,264
- 5
- 21
- 41