html to pdf... again.

2011-01-14 Thread Les Irvin
This should be easy. I'm working on a site to allow real estate agents to tweak a brochure on-line, then save it as a PDF. All I want to do is take the resulting page of html, convert it exactly as it looks in the browser to a PDF file (including colors, backgrounds, images, formating, etc.),

Re: html to pdf... again.

2011-01-14 Thread Michael Grant
It's extremely easy. Though sometimes getting everything pixel perfect is tough. cfpdf if you are on cf9, or cfdocument if you are cf7/8 On Fri, Jan 14, 2011 at 3:14 PM, Les Irvin les.cft...@gmail.com wrote: This should be easy. I'm working on a site to allow real estate agents to tweak a

RE: html to pdf... again.

2011-01-14 Thread Robert Harrison
We've done this a few times. If you're using advanced CSS and divs in the HTML layout, the results when you go to CFPDF can be tricky. We've found if you generate more rigid old style HTML tables the results on going to PDF are more predictable. Robert B. Harrison Director of Interactive

Re: html to pdf... again.

2011-01-14 Thread Les Irvin
Are there innumerable options and settings needed within the CFdocument tag, or it just simply wrapping that sucker within the simple tag and going for it? Background colors and css is all preserved? On Fri, Jan 14, 2011 at 1:33 PM, Robert Harrison rob...@austin-williams.com wrote: We've done

Re: html to pdf... again.

2011-01-14 Thread Mike Chabot
It depends on the makeup of the HTML you are trying to convert and which version of CF you are using. The cfdocument tag is one that has seen good improvements in each release of CF, so you are going to have an easier time using it if you are using CF9. cfdocument doesn't support the same level

Re: html to pdf... again.

2011-01-14 Thread Mike Chabot
There are a lot of settings, many of which are important, such as those controlling image handling and page margins. The reference guide lists all of them. -Mike Chabot On Fri, Jan 14, 2011 at 3:36 PM, Les Irvin les.cft...@gmail.com wrote: Are there innumerable options and settings needed