It took me half a day wondering why a set of particular documents didn’t render correctly with CFDOCUMENT. Well – I thought they didn’t render correctly.
The mentioned documents were some webpages using Ben’s Aura layout templates. They showed up pretty, well… “plain” in the pdf file. My first guess was that CFDOCUMENT wouldn’t deal correctly with the tags used to include the style sheets, which it does.
The solution is pretty simple. CFDOCUMENT looks if there is a particular CSS file for printing available and if yes, it takes it. I wasn’t aware of CFDOCUMENT being so clever when it comes to that point – sweet 🙂
I am working through a similar issue. Would you be willing to post some code examples?
Ich arbeite durch eine ähnliche Ausgabe. Würden Sie bereit sein, einige Codebeispiele bekanntzugeben?
Do you know how you can get cfdocument to ignore the CSS file for printing?
I want cfdocument to render the pdf using the screen CSS file.
Thanks, Bruce
i couldn’t get the printout in “landscape” even i gave orientation=”landscape”.how could i print in landscape format.is there any other printersettings
Lame post. How about a code example? Why even bother?
Comments on this entry are closed.