How can I automate HTML-to-PDF conversions?

后端 未结 14 791
攒了一身酷
攒了一身酷 2020-12-23 19:29

I\'ve been using htmldoc for a while, but I\'ve run into some fairly serious limitations. I need the end solution to work on a Linux box. I\'ll be calling this library/utili

相关标签:
14条回答
  • 2020-12-23 20:29

    NOTE: This answer is from 2008 and is probably now incorrect; please check the other answers

    PrinceXML is the best one I've seen (it parses regular HTML as well as XML/XHTML). How is it the best? Well, it passes the acid2 test which I thought was pretty darn impressive

    It is however, quite expensive

    0 讨论(0)
  • 2020-12-23 20:31

    I wont claim this is the "best" solution but it is "a" solution i have used.

    HTML Input --> HTML 2 PS --> PS 2 PDF --> PDF Output

    0 讨论(0)
提交回复
热议问题