first scenario:
Here is the thing. I have a dust template having some content either using form element or static. I want to deploy a button so that using that i can make pdf of the contents of that page. i am using nodejs and want to make that pdf using wkhtmltopdf. so a sample code or demonstration will be great help! PDF should generate in client side
second scenario: I have a button to generate pdf file for a report based on the inputs given from the dust template using form elements. so the prf file should generate server side.