Skip to main content
Inspiring
Apr 19, 2013 4:01 PM UTC
Question

Displaying multiple PDF's on screen

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 is closed to new replies. Start a new post to keep the conversation going.

    2 replies

    Inspiring
    Apr 19, 2013 4:11 PM UTC

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

    Translate
    userCold9Author
    Inspiring
    Apr 19, 2013 4:23 PM UTC

    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

    Translate