1

I want to save a web URL as a PDF. For example we can File->Save As-> PDF on the browser to save a webpage as a PDF.

But, in my case when the User provides a URL, I want to convert that URL to a PDF pragmatically.

There are many libraries and SO post on extracting the URL from the backend. According to my requirement I want the PDF to be generated on the Client-Side itself. So the user downloads exactly what he sees.

These are some of the links I visited:

Export HTML page to PDF on user click using JavaScript

Generate pdf from HTML in div using Javascript

Can someone help me to convert a webpage (given as a URL) to PDF format ?

Community
  • 1
  • 1
Illep
  • 16,375
  • 46
  • 171
  • 302

0 Answers0