[英]Ghostscript: Internal links annotations not-printing in PDF/A-1b
i'm trying to generate a PDF/A-1b document with Ghostscript 9.18 from a batch of scanned document pages. 我正在尝试从一批扫描的文档页面中使用Ghostscript 9.18生成PDF / A-1b文档。 I want to cover the scanned table of content with a layer of document internal links at the first page.
我想在首页上用文档内部链接层覆盖目录的扫描内容。 But Ghostscript returns an error:
但是Ghostscript返回一个错误:
GPL Ghostscript 9.18: Annotation set to non-printing,
not permitted in PDF/A, annotation will not be present in output file
In commandline, i use: 在命令行中,我使用:
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
Each link is defined like: 每个链接的定义如下:
[ /Rect [ 10 10 100 100 ] /ScrPg 1 /Page 7 /Subtype /Link /ANN pdfmark
I've tried to force the printing with the /F 3
and /F 4
PDF flag for annotations and on gs level with -dPrinted=true
without any success. 我试图用
/F 3
和/F 4
PDF标志强制打印注释,并在-dPrinted=true
级别上使用-dPrinted=true
进行-dPrinted=true
但没有成功。
Is there an other way to generate internal links in an PDF/A file? 还有其他方法可以在PDF / A文件中生成内部链接吗? Do i misunderstand the PDF/A standard?
我会误解PDF / A标准吗?
There is no need to make your Link annotations non-printing. 无需使您的链接注释不打印。 If you do not want them to have any visual appearance, just give them an appearance that does not draw anything (ie an empty appearance stream).
如果您不希望它们具有任何视觉外观,则只需给它们提供不绘制任何内容的外观(即空外观流)。
The PDF/A-1 standard mandates that all annotations that are visible (on screen) are also set to print (to ensure that the appearance of pages doesn't look different between display on a screen and printouts). PDF / A-1标准要求将所有(在屏幕上)可见的注释也都设置为打印(以确保页面的外观在屏幕上显示和打印输出之间看起来没有不同)。
I unfortunately cannot help with how to use this information in or with GhostScript. 不幸的是,我不能帮助如何在GhostScript中或与之一起使用此信息。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.