Hi all,
I am trying to import metadata into the pdf file by perl script. In that using GetJSObject to do it.
$jso = $pddoc->GetJSObject;
$jso->metadata($xmp_data);
here $xmp_data contains xmp file data. i am getting error like this
Win32::OLE(0.1709) error 0x80010105. "The server threw an exception" in METHOD/PROPERTYGET "metadata"
OR is there any other way to set the metadata ie. custom data into the pdf file.
If anybody have idea, please share it. It's urgent task for me....
Thanks,
Vaasu
Not sure if this will apply for how you want to do this, but here are two articles on applying/getting/setting metadata in PDFs-
http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/auto_insert_metadata/
http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/get_set_metadata/
Hope this helps,
Dimitri
WindJack Solutions
www.windjack.com
www.pdfscripting.com
Dimitri Munkirs
WindJack Solutions
pdfscripting.com