Setting PDF Custom Properties from Structured FrameMaker

Michael Pearson mt_pearson at hotmail.com
Fri Jun 4 08:12:50 PDT 2010


Rick is absolutely correct (he invariably is about these things) that you can use variables inside those postscript code text frames. I second his recommendation that you go that route. Makes updating far simpler. If you go that direction, though, just remember that importing variables from another document may get trickier. If the variable is defined in both docs, the value in the document you import from wins out. --mike

 


Subject: RE: Setting PDF Custom Properties from Structured FrameMaker
Date: Fri, 4 Jun 2010 09:42:43 -0500
From: Yassamin.Graham at weatherford.com
To: mt_pearson at hotmail.com; framers at lists.frameusers.com; rick at rickquatro.com









Mike and Rick, thank you both for your responses. I just spoke with Rick to step through the process and successfully got this to work in my document. Rick mentioned that I may be able to use variables in the code. I will try that as well.
 
You all are terrific! Happy Friday! 
 

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




From: Michael Pearson [mailto:mt_pearson at hotmail.com] 
Sent: Thursday, June 03, 2010 3:43 PM
To: Graham, Jasmine S; framers at lists.frameusers.com
Subject: RE: Setting PDF Custom Properties from Structured FrameMaker
 
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. See how.===============================
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.
 		 	   		  
_________________________________________________________________
Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1


More information about the framers mailing list