Wednesday, February 9, 2011

Merge several EPS files to one file


gs -sDEVICE=epswrite -dNOPAUSE -dBATCH -dSAFER -sOutputFile=merged.eps *eps


Merge EPS and convert EPS to PDF

gs -sDEVICE=pdfwrite -dNOPAUSE -dBATCH -dSAFER -sOutputFile=merged.pdf *eps


http://www.linuxjournal.com/content/tech-tip-using-ghostscript-convert-and-combine-files

The best way to concert a bunch of eps file to a combined pdf file is,



  1. for i in `ls *eps`
    do
    ps2pdf -dEPSCrop ${i}
    done




  2. gs -sDEVICE=pdfwrite -dNOPAUSE -dBATCH -dSAFER -sOutputFile=merged.pdf *pdf


0 comments:

Post a Comment