Creating a large pdf

On this site:

http://smokingcessation.webventions.com/

I’m using:

http://html2pdf.fr/en/download

To create pdf’s on the fly.

The problem is it fails when more than 13 topics are selected. It would amount to around 40 pages of text.

Does anyone have any ideas as to how to do this?

I thought of pre-generating the topics and zipping them but this would not be a great solution. Many people don’t know how to unpack a zip and/or don’t have software to do it.

Another solution would be to merge the pdf’s which would be better, but I can’t find any info on this.

Thanks E

It shows a blank screen. I think it probably is a memory problem. I’m using a shared hosting package and I’m not sure if they permit increasing the memory. I tried adding a php.ini file but didn’t have any luck with that.

Maybe you can add a .htaccess file with the following in it:


php_value memory_limit 128M

It’s quite possible that that might not work either, though.

What happens when it fails?
What errors are shown?

It might be a memory_limit problem.