Darren, with HTML2PDF, the way to get the images, is to remember that the
images are included relative to the template that is calling the tag, so if
it is calling a page that is in a subfolder, the images will not be found.

It works the same way as any other cfinclude, moving the relative path of
the page that is included.

But if you can get it to create the PDF, without strange /'s And \'s getting
the paths right for the images should be easy...

You can view my script at :
http://www.methoddata.com.au/pdf/pdfTest.cfm
I cheated a little, I can only get it to make files with names like
'\test.pdf' so I had to do a manual link, but the images are working

"Darren Tracey" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]

I've asked this question before, but I'm having difficulties still with
this.
I want to produce PDF versions of the reports that are produced from our CF
apps.
Several factors limit my choices on this, the most important being price,
which rules out several 'enterprise' level solutions. We will be requiring
this to work on about 100 client servers, many of whom can't justify a
higher price than CF server just to produce reports.

I've investigated and discarded ActivePDF, iText, R-Report, and various
Adobe products.
Close competitors so far have been HTML2PDF and HTMLDoc, although both of
these have large enough problems with them that they are not usable.
Features that we require include HTML input, HTML headers, repeating table
headers (i.e. table headers reprint at the top of each page they span over),
and image rendering.

I've had several people recommend HTML2PDF, and I've even been given
modified versions of this that was supposed to fix some problems with it,
but I can't for the life of me get it to include images in the pdf files.
I'm also less than happy with the extremely limited html allowed in page
heading formatting.
If anyone who has used this can offer some suggestions or even just show me
some example code that includes an image in a pdf, I'd be more than happy.

Similarly, I've had some people recommend HTMLDoc, which on the surface
looks like a great product which renders quite complex HTML really well,
including inserting images into the PDF files. The problem where it totally
falls down is that it only allows a single text line for the headers and
footers. It lets you break this up to a left, right and centre section, but
you can't have multiple line headers and you can't put your table column
headings in a HTML table in the header either.

I'm rapidly running out of time on this one, so if anyone can offer any
advise or suggestions, I'm all ears.

Thanks

Darren Tracey




---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to