This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |