We are trying to tag our PDF's here with information from our jobs database so as when they run through our Odystar workflow, the information can be used at the gateways (it doesn't matter if you don't know what Odystar is). Easy enough to do and it all works well. The problem is we don't want to be entering this manually, so what we have been working on, is doing it via Applescript.
Using an Applescript tool called PDFTK we have been able to enter name/value pairs into the PDF. When you open the resulting PDF in Acrobat and go to PROPERTIES - CUSTOM, the name/value pairs appear. So far so good.
If you were to enter these custom name/values into the PDF via Acrobat and save, when you open that PDF in Illustrator and go to FILE INFO - ADVANCED you can see that it has placed them into the ns.adobe.com/pdfx/1.3/ schema. However, if you enter the values via the Applescript tool (PDFTK) they do not appear at all in Illustrator (although they DO appear in Acrobat).
I'm struggling to get my head around why this is. I'm thinking we may have to add a custom schema, but I have no idea on this. Has anyone had any experience with this kind of scenario? Does anyone have any better options or tools or ideas for writing this metadata into the PDF?
Thanks in advance!!
I've been playing with this a bit more myself, and you are bang on! The schema is the key!! The original tool was placing it... nowhere!
I've now managed to get a few steps further with this using EXIFtool and having a bit more (but not much) knowledge of schemas and namespaces. It seems that Odystar is only reading the PDFX schema. With EXIFtool I can get the data into ANY schema accept the PDFX schema! Uggghhhhh!! The PDFX schema has to be defined in the config (I think).
It's all getting bigger than Ben Hur let me tell you!
Anyone dealt with creating custom EXIFtool configs?
Europe, Middle East and Africa