<div dir="ltr">I have a Dancer2 app that I have had running for a while. I would like to add the ability for a user to sign a multi-page contract and download it as pdf.  I have created a form with the contract that the user can initial and sign. The signature widget captures their signature and my app saves it as svg path.<div><br></div><div>I am questioning my next steps:</div><div><br></div><div>Print the contract to a file inserting their initials in the appropriate place and converting the svg path data to a png and putting it in the signature box.</div><div><br></div><div>Then do some enscript -> pdf magic to make it a pdf and get it into a public directory.</div><div><br></div><div>Then send the user back to a page with a download button that somehow downloads the PDF file to their local machine. Not sure how I'll get this part done but I think i'll figure it out.</div><div><br></div><div>Is this a good plan or is there an easier better way to do it?</div></div>