windows 操作系统电脑上下载 ghostscript,命令行窗口中使用如下 gs 命令压缩
gswin64c -sDEVICE=pdfwrite -dCompatibilityLevel=1.4^ -dPDFSETTINGS=/printer ^ -dNOPAUSE -dQUIET -dBATCH ^ -sOutputFile=thesis_compressed.pdf nputhesis_1216.pdf其中-sOutputFile后面的两个参数,第一个是压缩后的文件,第二个是原始文件