繁体   English   中英

Ghostscript:内部链接注释未在PDF / A-1b中打印

[英]Ghostscript: Internal links annotations not-printing in PDF/A-1b

我正在尝试从一批扫描的文档页面中使用Ghostscript 9.18生成PDF / A-1b文档。 我想在首页上用文档内部链接层覆盖目录的扫描内容。 但是Ghostscript返回一个错误:

GPL Ghostscript 9.18: Annotation set to non-printing,
not permitted in PDF/A, annotation will not be present in output file

在命令行中,我使用:

gs \
-sDEVICE=pdfwrite \
-dBATCH=true \
-dNOPAUSE=true \
-sPAPERSIZE=a4 \
-dSAFER=true \
-sColorConversionStrategy=UseDeviceIndependentColor \
-sOutputFile=out.pdf \
-dEmbedAllFonts=true \
-dPrinted=true \
-dPDFA=true \
-dPDFACompatibilityPolicy=1 \
-sPDFSETTINGS=screen \
-f raw.pdf \
-f meta.ps

每个链接的定义如下:

[ /Rect [ 10 10 100 100 ] /ScrPg 1 /Page 7 /Subtype /Link /ANN pdfmark

我试图用/F 3/F 4 PDF标志强制打印注释,并在-dPrinted=true级别上使用-dPrinted=true进行-dPrinted=true但没有成功。

还有其他方法可以在PDF / A文件中生成内部链接吗? 我会误解PDF / A标准吗?

无需使您的链接注释不打印。 如果您不希望它们具有任何视觉外观,则只需给它们提供不绘制任何内容的外观(即空外观流)。

PDF / A-1标准要求将所有(在屏幕上)可见的注释也都设置为打印(以确保页面的外观在屏幕上显示和打印输出之间看起来没有不同)。

不幸的是,我不能帮助如何在GhostScript中或与之一起使用此信息。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM