I have a weird issue with cfhtmltopdf.
When I do this in CFML,
cfhtmltopdf name="local.pdf"
cfoutput#local.content#
/cfoutput
/cfhtmltopdf
I get a lovely variable that is a PDF
When I try in CFScript,
cfhtmltopdf(name="local.pdf") {
writeoutput(local.content);
};
I get an error "Element PDF is undefined in LOCAL."
Any suggestions?