Answers.Body: <p>Maybe this one could help you: <a href="https://printmaker.docs.topshelfcraft.com/" rel="nofollow noreferrer">Printmaker</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-03-06T18:22:21.150Z
Answers.Text: Been using Printmaker on a project recently, and it's wonderful! The developer, Michael Rog, has also been extremely helpful and quick to respond.
Answers.UserDisplayName: Lindsey D
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-03-10T11:13:43.713Z
Answers.Text: 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.
Answers.UserDisplayName: Steve Holland
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2015-03-06T17:51:39.530Z
Answers.LastActivityDate: 2018-08-15T15:49:23.240Z
Answers.LastEditDate: 2018-08-15T15:49:23.240Z
Answers.UserDisplayName: KSPR
Answers.Body: <p>Just in case anyone was wondering, it looks like I'll be going with <a href="https://mpdf.github.io" rel="nofollow noreferrer">mPDF</a>, it seems to have better HTML/CSS support than either <a href="http://www.tcpdf.org" rel="nofollow noreferrer">TCPDF</a> or <a href="https://github.com/dompdf/dompdf" rel="nofollow noreferrer">domPDF</a> (which <a href="https://printmaker.docs.topshelfcraft.com" rel="nofollow noreferrer">Printmaker</a> seems to be based on).</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2015-03-10T13:44:01.347Z
Answers.LastActivityDate: 2018-08-15T15:48:47.273Z
Answers.LastEditDate: 2018-08-15T15:48:47.273Z
Answers.UserDisplayName: Steve Holland
Body: <p>Rather than render content out as HTML, I need to create PDFs for a project I'm working on. I was planning on using <a href="http://www.tcpdf.org/" rel="nofollow">TCPDF</a> 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. </p>
  
  <p>Are there any better solutions out there? It can either be PHP based or maybe Javascript instead.</p>
  
Tags: <plugin-development>
Title: Create Plugin to generate PDF files from content
ThreadText: # Create Plugin to generate PDF files from content
  
  (Asked by: username_0 on 2015-03-06)
  
  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](http://www.tcpdf.org/) 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.
  
  **Tags:** plugin-development
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_0 on 2015-03-10. Score: 5 | Accepted answer
  
  Just in case anyone was wondering, it looks like I'll be going with [mPDF](https://mpdf.github.io), it seems to have better HTML/CSS support than either [TCPDF](http://www.tcpdf.org) or [domPDF](https://github.com/dompdf/dompdf) (which [Printmaker](https://printmaker.docs.topshelfcraft.com) seems to be based on).
  
  
  ---
  
  ### Answer by username_1 on 2015-03-06. Score: 3
  
  Maybe this one could help you: [Printmaker](https://printmaker.docs.topshelfcraft.com/)
  
  > **Comments:**
  > **username_2**: Been using Printmaker on a project recently, and it's wonderful! The developer, Michael Rog, has also been extremely helpful and quick to respond.  
  > **username_0**: 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.  
  
  ---
  
  