Hi,
I want to enable my website visitors to upload their documents (.doc, .xls, .ppt, .pdf,..) and convert it on the fly like what you guys do to flash. Do you support that with coldfusion?
Coldfusion support
-
- Posts:1
- Joined:Mon Mar 26, 2012 2:52 pm
Re: Coldfusion support
I'm interested in this option as well. Does your Server version work with CF?
Re: Coldfusion support
Yes. To convert a document with ColdFusion, you need to execute a code like this:
Also, you need to configure Print2Flash Service as specified in this help topic: http://print2flash.com/help/SettingupAu ... ccount.php
Code: Select all
<cfobject action="create" name="p2fServer" type="COM" class="Print2Flash3.Server2" />
<cfscript>
try {
p2fServer.ConvertFile("#data.sourcefilename#","#data.outputfilename#");
}
catch(exception e){writeoutput(e);}
</cfscript>