Quantcast
Channel: Adobe Community : Popular Discussions - ColdFusion
Viewing all articles
Browse latest Browse all 14291

flatten pdf in one scoop?

$
0
0

Hi

I'm new to cf, and wanting to flatten a form created from Acrobat. I tried to combine the code so it writes out the file once, but ran into the problem that cfpdfform doesn't flatten the file unless I use cfpdf. But cfpdf doesn't prefill the pdf textfields. I'm sure there's a way, any help or suggestions is greatly appreciated. Thanks in advance.

 

 

 

<cfpdfform action="populate" source="interactiveform.pdf" destination="interactiveform_temp.pdf"  overwrite = "true" >
        <cfpdfformparam name="company" value="ACME INC" />
        <cfpdfformparam name="address" value="123 Main St." />
</cfpdfform>

 

 

<cfpdf action="write" source="interactiveform_temp.pdf" destination="interactiveform_flatten.pdf" flatten="yes"  overwrite = "true" >
</cfpdf>


Viewing all articles
Browse latest Browse all 14291

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>