Setting PDF Custom Properties from Structured FrameMaker

Michael Pearson mt_pearson at hotmail.com
Thu Jun 3 13:43:18 PDT 2010


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

 
> Subject: Setting PDF Custom Properties from Structured FrameMaker
> Date: Wed, 2 Jun 2010 09:28:16 -0500
> From: Yassamin.Graham at weatherford.com
> To: framers at lists.frameusers.com
> 
> Fellow Framers,
> 
> 
> 
> My setup is TCS1 on Windows XP (Frame 8.0, structured, with Adobe 9.0 Pro Extended). I need to set up custom properties in the PDF (Document Properties > Custom Tab). I want to create these properties as attributes in the Frame book file so that I can automatically write them to the PDF.
> 
> 
> 
> I know how to set up Frame's File Info dialog, which writes to the PDF Document Properties > Description tab, but I must also have additional metadata on the Document Properties > Custom Tab. 
> 
> 
> 
> Anyone out there doing something like this today? Ideas on how I can get this to work? All ideas and input are appreciated. Thanks in advance!
> 
> 
> 
> Jasmine Graham
> 
> Technical Writer, Research and Development 
> 
> Wireline Services
> 
> Weatherford │ 481 Winscott Road │ Fort Worth │ TX │ 76126 
> 
> Main: +1.817.249.7200 │ Direct: +1.817.249.7032 │ Fax: +1.817.249.7885 │ Mobile: +1.817.235.3620 
> 
> jasmine.graham at weatherford.com │ www.weatherford.com
> 
> 
> 
> ===============================
> CONFIDENTIAL & PRIVILEGED COMMUNICATION
> 
> The information contained in this message is privileged, confidential, and protected from disclosure.
> This message is intended for the individual or entity addressed herein. 
> If you are not the intended recipient, please do not read, copy, use or disclose this communication to others. 
> Also please notify the sender by replying to this message, and then delete it from your system. 
> The sender totally disclaims, and will not accept, any responsibility or liability for the unauthorized use, 
> or the consequences of any unauthorized use, of this communication or message.
> _______________________________________________
> 
> 
> You are currently subscribed to framers as mt_pearson at hotmail.com.
> 
> Send list messages to framers at lists.frameusers.com.
> 
> To unsubscribe send a blank email to
> framers-unsubscribe at lists.frameusers.com
> or visit http://lists.frameusers.com/mailman/options/framers/mt_pearson%40hotmail.com
> 
> Send administrative questions to listadmin at frameusers.com. Visit
> http://www.frameusers.com/ for more resources and info.
 		 	   		  
_________________________________________________________________
Hotmail is redefining busy with tools for the New Busy. Get more from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2


More information about the framers mailing list