擅长:python、mysql、java
<p>你可以利用</p>
<ul>
<li><strong>Ghostscript</strong>使用<code>-sPAPERSIZE=a4</code>开关,参见第3.3章<a href="http://ghostscript.com/doc/9.19/Use.htm" rel="nofollow noreferrer">docs</a>或<a href="https://stackoverflow.com/questions/7446552/resizing-a-pdf-using-ghostscript">full solution</a>中的SO,或</li>
<li><code>pdfjam</code>(属于<code>texlive</code>一部分的shell脚本),带有<code> paper a4paper</code>选项,如<a href="https://unix.stackexchange.com/questions/185145/convert-pdf-to-a-different-page-size-us-letter-a4">described</a>unix.SE版在</li>
</ul>