Forum News

Tagged PDF

mikeday
The Prince latest builds now support Tagged PDF via the PDF/A-1a and PDF/A-3a profiles. This has been a commonly requested feature as they are required by many accessibility standards. Please try it out! :D

Edited by mikeday

thomasdumm
FYI: On the page with the profiles available in prince the two that now support tagged PDF are not listet:
http://www.princexml.com/doc/pdf-profiles/#pdf-profiles
csant
Hi thomasdumm, the documentation refers to the latest released version, not to the latest snapshot builds. It will be updated once a Prince build with the feature is released.
thomasdumm
thank you. I should have checked the difference between PDF/A-1a and PDF/A-1b first...
wangp
You can also pass --tagged-pdf to produce a tagged PDF without the other requirements of PDF/A-1a and PDF/A-3a.
John
Hey,

great news! But is there a reason the latest version is not available for Debian 9?

greetings,
john
mikeday
An oversight on our part, we will have an updated package ready this week. :)
John
Epic! Thanks. :)
mikeday
The Debian 9 packages are available now!
John
Thanks a lot! We are testing it now.

Is there any chance the current release will be provided for Debian 9 as well? Afaik there are some hard deps regarding libssl...

greetings,
John

Edited by John

John
I meant "Debian 8" in my previous post. Anyway we moved on to Debian 9, so no worries. Thanks again for your quick answers.
foo
Hi,
I am using java, I see setJavaScrip method, but I don't see setProfile method. How can I enable tagged PDF with java method? I also tried prince.setOptions("--pdf-profile=\"PDF/A-1b\""); but it did not work.

Any suggesstion?

mikeday
You can omit the quotes around the value: setOptions("--pdf-profile=PDF/A-1b");

We will update the Java wrapper to add a new method for this.
wilby
@mikeday - where can we get the new Java wrapper?
wilby
@mikeday - where can we get the new Java wrapper?
mikeday
Sorry for the delay, it will be ready shortly.
mikeday
Please find the updated Java wrapper here: prince-java-20180929.zip

It has these new methods:
  • setPDFProfile
  • setPDFOutputIntent
  • setFallbackCMYKProfile
  • setPDFXMP
brucel
Hello all. We've written an article on "Making accessible tagged PDFs with Prince" - it's at https://medium.com/@bruce_39084/making-accessible-tagged-pdfs-with-prince-ad7fd7a48711. It's based on the latest build (https://www.princexml.com/latest/) as that gives you more flexibility to customise the HTML to PDF tag mappings, but the process will work on Prince 12.5 also, with fewer customisation options.