Everything you need is made at : js/features/pdf.js
If you are developer and you can get the repo and generate lots of pdf from a .json file.
Fit the .json file properlly then click here to generate all the pdf releated to it.
Otherwise used form to generate pdf.