Solved

Coldfusion Word to PDF conversion

Posted on 2013-01-18
4
494 Views
Last Modified: 2013-07-29
Hi,

I currently have a CF pgm that prompts for certain fields using a form and these form fields are embedded within a RTF variable (after the RTF variable has been created with a cffile read function) by replacing certain field containers. e.g. %NAME% or %ADDRESS%.

After replacing these containers in the RTF variable, the RTF is opened for the user in Word using the below functions;

 <cfheader name="Content-Disposition" value="#cname#">
 <cfcontent type="application/msword"><cfoutput>#rtf#</cfoutput>

This works like a charm but now they are requesting to open the rtf variable in PDF so no changes can be made to the document.

Is this possible?

Thanks,

Errol
0
Comment
Question by:Errol Farro
  • 2
  • 2
4 Comments
 
LVL 16

Expert Comment

by:Gurpreet Singh Randhawa
ID: 38798162
i have been through this, but for pdf it will not play good, you need some kind of external tool which you can execute through cfexecute to make it work
0
 

Author Comment

by:Errol Farro
ID: 38798309
thanks myselfrandhawa. Do you know of any external tool that does this?
0
 
LVL 16

Accepted Solution

by:
Gurpreet Singh Randhawa earned 350 total points
ID: 38799084
0
 

Author Comment

by:Errol Farro
ID: 38802916
Looks ok to convert html to pdf but I need one to convert rtf to pdf.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question