转换PDF格式的大型HTML文件

after some research about this subject (FPDI, FPDF... and so on) I try to find a solution for converting a large HTML File (about 25k lines) in PDF format.

Open sources libraires I tested were not efficient, took a very long time to do this job for a poor result :/

Could you tell me if someone had this feature to do with PHP and what could be a solution ?

Regards.

Could you give me some information about the content? I have been successful converting a lot html to PDF so far (and then sending these by fax).

Without knowing more, what I can recommend is to make sure that you write all type of CSS styling inline on the tags as in etc.