PDF generation


(Gjboyd7) #1

Anyone doing PDF generation in squiz matrix?

 

Let's say you had an asset listing, you would like to render as a PDF.

 

Is client-side javascript the only option to do this?  Or are there some other ways through squiz / server side?

 

 


(Nic Hubbard) #2

I would use an external service for this. There are many out there if you just Google "create PDF from webpage".


(Bart Banda) #3

I've heard of people using Phantom JS to produce PDFs server side, so custom JS code you put on the server and then pass a URL to:  https://coderwall.com/p/5vmo1g/use-phantomjs-to-create-pdfs-from-htm

 

Another external service you can try is http://pdfcrowd.com/.