[英]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.