HTML Page to a PDF in Angular

I’m working with Angular and I’m resolving an issue where I need to develop a report and be able to convert the entire HTML page to a PDF clicking on a button.
I’m looking on the internet and found a JSPDF package, but I can’t render the HTML entire page to a PDF, can anyone help me with that, is there another package or similar stuff that I can be able to make that?
Can I do that using jspdf?

Image of the code