NewsWorksSoftwareTextBioContact
background image

Converting PDF to JPG using GhostScript

2016-07-01

Warning: This will be the most boring blog post ever, but I just need to communicate this to future self.

At home I have problems printing PDFs from SendRegning, the online invoicing service I’m using. I don’t know if the problem is with the printer or if the PDFs are ill-formatted. Anyway, after having battled the files for close to two hours, I’ve found a way of using GhostScript to convert them from PDF to JPG. The JPGs print just fine.

In Terminal, cd into the folder containing the file to convert and run:

gs -dNOPAUSE -sDEVICE=jpeg -r144 -sOutputFile=invoice.jpg invloice.pdf

Yuck!

Up

comments powered by Disqus

 
 
 

Creative Commons License Licensed under a Creative Commons Attribution 3.0 Norway License. Web site hosted by BEK.