Question
Generating PDFs With Coldfusion
I have a few questions regarding the generation of PDF's with
ColdFusion MX7.
For some reason when I generate a PDF from a URL the PDF generated looks awful. e.g. the layout is everywhere, some items don't even appear and is far from 'Printer Friendly'.
This isn't an issue with my code but I believe it may have something to do with the websites themselves. I know CFDOCUMENT has some support limitations...does it support xhtml transitional with external stylesheets? The reason I ask this is because the only sites that seem to render ok (and I say just 'ok') are sites with generally bad markup where css is embedded within the structure itself...e.g. font tags and table layouts.
My second question is regarding the capabilities of cfdocument. Believe it or not I have found it quite difficult to track any information on its capabilities. Is it possible to generate PDFs from documents that can be uploaded. e.g. a MS Word doc?
This isn't a rant or anything, I'm just really confused! Ha.
Thanks for any help in advance.
Regards.
For some reason when I generate a PDF from a URL the PDF generated looks awful. e.g. the layout is everywhere, some items don't even appear and is far from 'Printer Friendly'.
This isn't an issue with my code but I believe it may have something to do with the websites themselves. I know CFDOCUMENT has some support limitations...does it support xhtml transitional with external stylesheets? The reason I ask this is because the only sites that seem to render ok (and I say just 'ok') are sites with generally bad markup where css is embedded within the structure itself...e.g. font tags and table layouts.
My second question is regarding the capabilities of cfdocument. Believe it or not I have found it quite difficult to track any information on its capabilities. Is it possible to generate PDFs from documents that can be uploaded. e.g. a MS Word doc?
This isn't a rant or anything, I'm just really confused! Ha.
Thanks for any help in advance.
Regards.
