Setting PDF Custom Properties from Structured FrameMaker

Rick Quatro rick at rickquatro.com
Thu Jun 3 18:00:02 PDT 2010


Yes, and with FrameScript, you can automate the process of getting the
correct values from the document's structure and creating the PostScript
text frame. You can have the script run automatically whenever you save the
document or book as PDF.

Rick Quatro
Carmen Publishing Inc.
585-659-8267
rick at frameexpert.com

*** Frame Automation blog at http://frameautomation.com

Hi Jasmine,

You can do this with a "Postscript Code" text frame containing a pdfmark
operator. A "Postscript Code" text frame is just a regular text frame that
has the "Postscript Code" property set from the Object Properties dialog.
When that checkbox is selected, any text in the frame is treated as if it
were postscript code. Here is sample code that should get you started:

/pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse
[ /Custom_Acrobat_Property_Name (This is the value of the custom property.)
/DOCINFO pdfmark

HTH,

--Mike





More information about the framers mailing list