We have come across a fantastic solution for generating PDF’s. Output can be styled with CSS, template structures, page breaks, page numbering and header text/logos can all be customised. Simple library all in JS. Free no watermarking, no nonsense, straight PDF exports!
Part of the Kendo UI: https://www.telerik.com/kendo-ui
Example and parent site:
https://demos.telerik.com/kendo-ui/pdf-export/index
Quick tutorial:
Further example:
http://dojo.telerik.com/otugA
In the past we have had to build our PDFs specifying x and y coordinates for placement of content, which can get rather messy so we had to find a solution, and this component answered all our requirements.
Hope it helps anybody looking to do the same!