Is there a way to print an angular page to pdf without showing the page itself?
I am trying to build a way to take an html document, possibly built by an angular component and print it to pdf without it being shown to the user. I have no idea if that is possible.
The optimal solution would have the component render the page, but not display it. That document gets passed to a service, which then “prints” the document to pdf and downloads it for the user. I am currently using angular 17 to do this work.