$ gs -sDEVICE=pdfwrite -dNOPAUSE -dBATCH -dPDFSETTINGS=/ebook -sOutputFile=output.pdf input.pdf起作用的是PDFSETTINGS选项,产品质量由高到低可以取值为:/prepress,/printer,/ebook,/screen。
Weekend
12 年前
万物并作,吾以观复。夫物芸芸,各复归其根。 The operation of anything is governed by some rule.
$ gs -sDEVICE=pswrite -sOutputFile=output.ps -dNOPAUSE -dBATCH file1.ps file2.ps file3.psgs also has other similar usages, such as merging pdf files:
$ gs -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=output.pdf -dBATCH algebra.pdf biology.pdf