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

Including other PDF's in cfdocument

New Here ,
Nov 14, 2006 Nov 14, 2006

Copy link to clipboard

Copied

I have been trying to include another NON cfreport PDF to cfdocument and it garbles the the cfinclude. I can create PDF's from coldfusion but cannot combine that with an already PDF in the same directory.. Is it possible to create a pdf and include and already created pdf to make one pdf from cfdocument?
TOPICS
Advanced techniques

Views

499

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 ,
Aug 02, 2007 Aug 02, 2007

Copy link to clipboard

Copied

did you ever get this question answered? I am having the same challenge.

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
Adobe Employee ,
Aug 03, 2007 Aug 03, 2007

Copy link to clipboard

Copied

ColdFusion 8 has a new tag called <cfpdf> which allows you to merge pdfs. So you can merge pre-created pdfs as well as pdfs created using cfdocument. Apart from merging, it also allows you to do whole range of pdf manipulation such as splitting, page extraction, creating thumbnails, extracing text, creating watermark, creating table of content, adding/manipulating usage rights, signing pdf and verifying signature in PDF, extracting meta-data.

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 ,
Aug 03, 2007 Aug 03, 2007

Copy link to clipboard

Copied

Thanks Rupesh, one more question. With this new cfpdf tag, can you include a pdf within a cfdocument tag and stream it to screen.

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
Adobe Employee ,
Aug 06, 2007 Aug 06, 2007

Copy link to clipboard

Copied

LATEST
You dont include the pdf in cfdocument tag. What you can do instead is to write the pdf generated by cfdocument temporarily to the disk and then use cfpdf to merge it with another pdf (or do any other manipulation) and then stream to the browser.

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