Convert eps to pdf with the correct page size or boundaries

ps2pdf by itself always converted the ps file to pdf onto a different sized paper. I finally discovered how to get the right paper size via this post. Here is my script:

 <pre class="src src-sh"><span style="color: #ff4500;">#</span><span style="color: #ff4500;">! /bin/</span><span style="color: #00ffff;">bash</span>

## look in comments ## for file in “$@” do ps2pdf -dEPSCrop “$file” done

About Vinh Nguyen



Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>