Skip to content

Instantly share code, notes, and snippets.

@ststeiger
Forked from manuelmorales/ghostxps.sh
Created October 22, 2015 14:49
Show Gist options
  • Save ststeiger/7416e6ae2aeda30b3df1 to your computer and use it in GitHub Desktop.
Save ststeiger/7416e6ae2aeda30b3df1 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