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?
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?
I would use an external service for this. There are many out there if you just Google "create PDF from webpage".
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/.