2

I work on one project, I used html2pdf by spipu but unfortunately I encountered problems at the end, such as problems with pictures and also rendering. My question is what would you recommend if I want to convert the automatically generated html into a php file to pdf on my own domain and site. My idea is something like this that my given html generated code, which already shows me a browser as it would convert to pdf (using html5 ...). Also, and this is probably the biggest problem I need to get rid of before and after element. I was looking at different kinds but some require api key and registering and then converting this html somewhere else, and I would like to avoid it.

Geoffrey
  • 10,843
  • 3
  • 33
  • 46
Peter
  • 33
  • 1
  • 4

1 Answers1

3

I've used tcpdf in the past it works great and it's open source. Take a look at their website they have plenty of examples that might get you going. Wanted to mention this answer as a comment since the question is vague but my SO reputation prevents me from that still..

seroton
  • 66
  • 3