Skip to content

Instantly share code, notes, and snippets.

@manuelmorales
Created April 17, 2012 11:01
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save manuelmorales/2405310 to your computer and use it in GitHub Desktop.
Save manuelmorales/2405310 to your computer and use it in GitHub Desktop.
Installing GhostPDL (with GhostXPS) on Ubuntu Oneiric
sudo apt-get install libxext-dev libxt-dev
wget http://downloads.ghostscript.com/public/ghostpdl-9.05.tar.bz2
tar xjf ./ghostpdl-9.05.tar.gz
cd ghostpdl-9.05/
./configure
echo '#define HAVE_SYS_TIME_H' >> xps/obj/gconfig_.h
make xps
./xps/obj/gxps -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -r150 -o /tmp/a.pdf ~/POWERPOINT.xps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment