Giu
Giu

Reputation: 295

Html2pdf very slow with a lot of pages for one pdf

I'm trying to create pdf from html using html2pdf (last version) in PHP. I have a lot of pages for one pdf & the creation of file is too slow.

For example, 6 minutes for only 26 pages & the pdf contains a small image for each page.

I can't split HTML because in html2pdf you can use only the function writeHtml.

Upvotes: 1

Views: 5325

Answers (1)

Sankar Ganesh
Sankar Ganesh

Reputation: 61

http://www.mpdf1.com/mpdf/index.php

reference the above link. very simple create html to pdf.


UPDATE
New link: https://mpdf.github.io/

Upvotes: 1

Related Questions