Coast Line
asked on
creating a ebook type with cfpdf
Hi, I have an scenario here where my try is to get all the records related to a single person of his recipe and create a PDF of his collected recipes and pur them available for Download. So whenever he/she changes his records, the pdf should get regenerated and then available for download again, can any experts guide me this way
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
yes i believe so but I've not used cfpdf all that much - I always just rerun the whole document. For my purposes it's easier.
ASKER
your example is a good one and i will certaintly accept it, but i will wait a little bit if any experts who worked more with cfpdf can help me in this
ASKER
i m using code and getting this issue
cfdocument tag has no body.
It must have a body or a source file or URL.
<cfdocument format="pdf" pageheight="11" pagewidth="8.5" unit="in" orientation="portrait"
filename="#ExpandPath('../ #Dir2#/#Cr eateUUID() #.pdf')#" overwrite="yes">
<cfoutput>
#recipePDF#
</cfoutput>
</cfdocument>
cfdocument tag has no body.
It must have a body or a source file or URL.
<cfdocument format="pdf" pageheight="11" pagewidth="8.5" unit="in" orientation="portrait"
filename="#ExpandPath('../
<cfoutput>
#recipePDF#
</cfoutput>
</cfdocument>
ASKER
ok i solved it, but it is not including all the records, just the first one, why so?
I expect you'll need an output loop in your cfsavecontent - mine was just a generic example
ASKER
yeah, Solved it, added few header/footer section but still it creates the page break at anypoint while i want it to be broken at some poin
ASKER