Hi guys, as my title suggests...I have a PDF document that was created with cfdocument...I then have used cfpdf to merge the results of that PDF with 2 other PDF's to make a final document...my question is, how to do get this resulting PDF to open in the browser (as it can with cfdocument) instead of writing a physical PDF file on the server? I just need the user to be able to see and print the file, not actually save it on the server itself.
<cfdocument format="pdf" name="pdfsource">
<cfpdf action="merge" destination="temp/test.pdf" overwrite="yes">
So far my research has turned up nothing on this particular instance, strangely.
Thanks in advance!
I believe you can save the results to a variable, and then stream the variable to the browser using cfcontent. Though this entry is on watermarking, it does use the same variable/cfcontent technique. See the last two lines of the code
Yep perfect! Thanks!!
Now I'm having another issue after that that I'll post separately.