Rather than render content out as HTML, I need to create PDFs for a project I'm working on. I was planning on using TCPDF in a custom plugin, but having played around with it a little, it does seem very limited it terms of the HTML/CSS you can throw at it.

Are there any better solutions out there? It can either be PHP based or maybe Javascript instead.

2 Answers 2


Just in case anyone was wondering, it looks like I'll be going with mPDF, it seems to have better HTML/CSS support than either TCPDF or domPDF (which Printmaker seems to be based on).


Maybe this one could help you: Printmaker

  • 1
    Been using Printmaker on a project recently, and it's wonderful! The developer, Michael Rog, has also been extremely helpful and quick to respond.
    – Lindsey D
    Commented Mar 6, 2015 at 18:22
  • Thanks for the suggestion, but I was aiming more at the PDF creating side of things rather than the Craft Plugin side as the project would require something bespoke anyway. In hindsight, I guess the question is probably a bit too vague for the Craft Stack Exchange. Commented Mar 10, 2015 at 11:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.