• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Converting a file to PDF

New Here ,
Jun 22, 2006 Jun 22, 2006

Copy link to clipboard

Copied

Thank you in advance for the help and Paul had been helpful with my other task. I have one more that I want to see if there is a solution using CFMX 7.

I know how to do the following. Create a PDF file from a query and how to combines PDF files together, but is it possible to convert any type of file to PDF within CFMX 7.

Example.

DOC to PDF
PPT to PDF
JPG to PDF

I am not sure this is even possible because I am new using CFMX 7 and have a lot to learn yet.

Thank you and thank you for patience with me.

Jim
TOPICS
Advanced techniques

Views

292

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 25, 2006 Jun 25, 2006

Copy link to clipboard

Copied

Since cfdocument can render HTML, you may easily convert JPG to PDF, using

<cfdocument format="PDF">
<img src="myphoto.jpg" alt="my photo">
</cfdocument>

However, converting DOC to PDF or PPT to PDF with Coldfusion is not currently possible. DOC and PPT have proprietary MS Office formatting that is foreign to Coldfusion.


Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 26, 2006 Jun 26, 2006

Copy link to clipboard

Copied

Thank you for the information and I thought that was going to be the answer but needed another source to comfirm it. Do you think it is possible to convert the DOC to XML and then create a PDF?

Thanks again,

Jim

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 26, 2006 Jun 26, 2006

Copy link to clipboard

Copied

If you really must, search for a DOC to PDF API on the web. There might even be one for PPT to PDF, too.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 26, 2006 Jun 26, 2006

Copy link to clipboard

Copied

LATEST
This be true and if I find one I will post the results here.

Thanks again!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation