-
1. Re: Merge data and flaten a PDF form.
Jochem van Dieten Jun 3, 2011 1:26 PM (in response to ilssac)I thibk the overhead isn't too bad with the memory filesystem. But you could also use DDX directly.
-
2. Re: Merge data and flaten a PDF form.
ilssac Jun 3, 2011 2:45 PM (in response to Jochem van Dieten)Ok, so now I just need to ALSO learn how to use a memory file system AND|OR DDX. Two other features of which I am aware, but have never used before. Off to the documentation I go again.
-
3. Re: Merge data and flaten a PDF form.
ilssac Jun 3, 2011 3:51 PM (in response to Jochem van Dieten)Well, it looks like RAM disk is out. Apparently it is not supported in the <cfpdfform...> and|or <cfpdf...> tags. When I tried, I was getting "file not found" errors. Then I see in the documentation that these tags are not listed in the supported tags.
Using in-memory files in tags
The following tags are supported for in-memory files:
cfcontent
cfdocument
cfdump
cfexchange
cfexecute
cffeed
cfhttp
cfftp
cfimage
cfloop
cfpresentation
cfprint
cfreport
cfzip
I guess I am off to see how difficult this will be to do with DDX.
-
4. Re: Merge data and flaten a PDF form.
ilssac Jun 3, 2011 4:12 PM (in response to Jochem van Dieten)It looks like I am back to square one.
DDX is part of the Life Cycle tool set. As Far As I know, I am not working with Life Cycle here.
cfpdfform
Description
Manipulates existing forms created in Adobe® Acrobat® and Adobe® LiveCycle® Designer
I created my sample form with Adobe Acrobat 9 Pro Version 9.4.4. Does that mean I have an Acrobat or a LiveCycle form?
ColdFusion supports two types of interactive forms: forms created in Adobe Acrobat 6.0 or earlier, and forms created in Adobe LiveCycle. In Adobe Acrobat Professional and Standard 7.0, Adobe introduced Adobe® LiveCycle® Designer for creating PDF forms.
And if I do have a LiveCycle form, what or how do I get a DDX version of it?
-
5. Re: Merge data and flaten a PDF form.
Dave Watts Jun 5, 2011 9:46 AM (in response to ilssac)You can use DDX commands from CF with any PDF. DDX is a scripting language used by LiveCycle Assembler, which is a LiveCycle server component. CF includes a subset of LiveCycle Assembler.
http://www.adobe.com/devnet/coldfusion/articles/ddx_pdf.html
Dave Watts, CTO, Fig Leaf Software
-
6. Re: Merge data and flaten a PDF form.
Andrew Tillinghast Jun 29, 2011 10:41 AM (in response to Dave Watts)With CFPDFForm there is an undocumented attribute name which you can use instead of destination, after that you can use the CFPDF with that name as the source before writing the flattened file out as a destination.



