In my Angular application, on click of a button I need to print the contents of a third party webpage using its URL.
On button click, the print window should appear like that appears on pressing Ctrl + P in Windows, but the contents should be the webpage present at that URL.
I went through this question Printing a web page using just url and without opening new window? but it requires to add some javascript on the webpage of that URL, which is a third-party in my case.
Can anyone please suggest.