In this blog post, I will show you how to safe a particular section of an html page to a PDF. Code is below and as always, commented.
See the Pen Save to PDF – Specific Section of a Page by Mike Doubintchik (@allurewebsolutions) on CodePen.
If you run into any issues in your application, I have found it’s useful to play around with the jsPDF version.
Sometimes the characters are all messed up, for which I haven’t found a solution yet, but I will!
If you have any questions, please post in the comments.