我想将PDF分成两个较小的PDF使用gs(Debian Lenny上的Ghostscript版本8.62 )。我手边只有Debian Linux,所以请不要提供Windows或Mac解决方案。Ghostscript:分割大PDF会导致“pdfmark目标页面”错误
当指定-dLastPage=740
,我收到错误:
GPL Ghostscript 8.62: ERROR: A pdfmark destination page 1203 points
beyond the last page 740.
我已经走遍了如何禁用完全 pdfmark运算Ghostscript的文档(我不需要为直TO- 打印链接或书签PDF)。 -dDOPDFMARKS=false
不起作用。
我在互联网搜索了任何报告类似错误的人。我 还没有找到解决方案。
请帮忙!
仅供参考,我使用的命令是:
gs -dSAFER -dBATCH -sDEVICE=pdfwrite -DNOPAUSE -sPAPERSIZE=halfletter -
dFIXEDMEDIA -dEmbedAllFonts=true -sOutputFile=library.1of2.pdf -
dLastPage=740 -dPDFFitPage library.pdf
这是Ghostscript中的一个已知错误。看到这里:http://bugs.ghostscript.com/show_bug.cgi?id=690253 – 2010-07-30 19:30:12