Skip to main content
Inspiring
April 19, 2013
Question

Displaying multiple PDF's on screen

  • April 19, 2013
  • 1 reply
  • 774 views

Hi,

I can create a single PDF. But when I try to combine multipe PDF creations, getting a 500 message.

The code below was being used to try display multiple PDF's on the screen:

<cfinclude template="module1pdf.cfm"> (the result is information in PDF)

<cfinclude template="module2pdf.cfm"> (the result is information in PDF)



Only the information from module1pdf.cfm would be displayed.



Per my research, I found the cfpdf.

Below is the cfpdf function:

<cfpdf

action="merge" source="module1pdf.cfm,module2pdf.cfm" destination="3.pdf" package="yes"

CenterWindowOnScreen overwrite="yes">



When the cfpdf is executed, receiving a 500 message.



Is the a way of displaying the creating of PDF's on the screen at the same time?



Note: Using Cold Fusion 9



Thanks,



Mike

    This topic has been closed for replies.

    1 reply

    Inspiring
    April 19, 2013

    Not sure if it will work, but try using cfcontent tags for each pdf file.

    userCold9Author
    Inspiring
    April 19, 2013

    Each of the PDF files can be displayed individually with no issues.

    Just need a way of displaying the PDF's together in one display.

    Mike