Questions tagged [ghostscript]

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

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

Remove Adobe protection from PDF

When I open a PDF it prompts for a username and password. If I open it with any other program than Adobe it says only Adobe can open this PDF. I am not a fan of being limited to Adobe and we have ...
Adrian's user avatar
  • 101
0 votes
0 answers
101 views

Build Ghostscript 10 on Ubuntu 22.04

In official repositories of Ubuntu 22.04 LTS there is a Ghostscript 9.55. I'm trying to build latest Ghostscript 10 from sources. It's working but… a) when I type 'sudo checkinstall' it creates a deb ...
Robert Drygas's user avatar
1 vote
2 answers
2k views

How do I remove password from a PDF using ghostscript, when password is known?

I have an encrypted pdf, and I am aware of the password, and I would like to use the Ghostscript to make them unencrypted, so they don't require any password to be opened. I tried using the following, ...
Yanjan. Kaf.'s user avatar
2 votes
0 answers
545 views

How do I fix error "gs" ignored when using ghostcript for reducing pdf file size?

I am trying to reduce the filesize of a pdf using ghostscript. I found the command here: https://tex.stackexchange.com/questions/18987/how-to-make-the-pdfs-produced-by-pdflatex-smaller gs -sDEVICE=...
Natan's user avatar
  • 817
1 vote
1 answer
658 views

Show input filename within output filename — after ghostscript command

I use this script (from here) in order to reduce the size of a pdf file: gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook \ -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input....
cipricus's user avatar
  • 3,426
3 votes
1 answer
9k 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 ...
Somers Matthews's user avatar
1 vote
0 answers
2k 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 ...
MWB's user avatar
  • 724
0 votes
1 answer
173 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
Kostas T's user avatar
1 vote
1 answer
1k 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. ...
Mark Berry's user avatar
6 votes
1 answer
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, ...
oz1cz's user avatar
  • 912
4 votes
1 answer
3k 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 ...
user2771609's user avatar
2 votes
0 answers
334 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 ...
Admin skf's user avatar
0 votes
1 answer
898 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 ...
Holger_H's user avatar
1 vote
2 answers
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 ...
Deky740's user avatar
  • 21
5 votes
1 answer
15k 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 ...
Brainmaniac's user avatar
7 votes
6 answers
7k 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 ...
Apurba's user avatar
  • 1,438
3 votes
1 answer
712 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 ...
Ray's user avatar
  • 2,071
2 votes
3 answers
7k 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 (...
JoKalliauer's user avatar
  • 1,575
10 votes
1 answer
8k 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 ...
James's user avatar
  • 121
1 vote
1 answer
1k 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. ...
AlwaysLearning's user avatar
2 votes
1 answer
1k 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....
jannej's user avatar
  • 121
4 votes
2 answers
27k 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 ...
Alexander Peace's user avatar
6 votes
0 answers
2k 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 ...
Theo Wilderbeek's user avatar
1 vote
0 answers
152 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 ...
rinkert's user avatar
  • 119
12 votes
7 answers
18k 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 ...
Earthliŋ's user avatar
  • 591
4 votes
1 answer
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 ...
anderstood's user avatar
1 vote
2 answers
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 ...
vfranchi's user avatar
  • 121
0 votes
1 answer
457 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 ...
Xenon's user avatar
  • 23
1 vote
1 answer
3k 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, ...
Miro Iliaš's user avatar
3 votes
1 answer
4k 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 ...
user273938's user avatar
1 vote
1 answer
178 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 ...
j0h's user avatar
  • 14.8k
0 votes
2 answers
3k 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?
user142095's user avatar
2 votes
1 answer
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 ...
enrico's user avatar
  • 121
88 votes
9 answers
140k 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 -...
Nicole's user avatar
  • 981
1 vote
1 answer
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.
Danial José's user avatar
13 votes
2 answers
23k 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?
croceldon's user avatar
  • 575
8 votes
2 answers
964 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 ...
Joril's user avatar
  • 2,326
1 vote
2 answers
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 ...
teppic's user avatar
  • 201
2 votes
0 answers
231 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 ...
a different ben's user avatar
0 votes
1 answer
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 ...
niklasfi's user avatar
  • 236
6 votes
4 answers
11k 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 (...
zetah's user avatar
  • 9,653
2 votes
1 answer
2k 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....
Rakesh's user avatar
  • 2,054
3 votes
1 answer
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 ...
Volomike's user avatar
  • 2,283
20 votes
0 answers
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=/...
Rob Cowell's user avatar