OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

Why can't we use the browser print feature for HTML to PDF

  • Thread starter Thread starter Symtox
  • Start date Start date
S

Symtox

Guest
The title is straightforward; I see a lot of people ask for help using html2pdf and other 3rd party libs and I was wondering, If printing a website page (And downloading it as pdf) is fully supported accross browsers, why do we need to go by a lib to do the job ? Isn't this mechanism therefore already implemented in all browsers ? Or is there some limitations/features i'm not aware of ?

All answers are welcome, thanks in advance
<p>The title is straightforward; I see a lot of people ask for help using html2pdf and other 3rd party libs and I was wondering, If printing a website page (And downloading it as pdf) is <a href="https://developer.mozilla.org/en-US/docs/Web/API/Window/print" rel="nofollow noreferrer">fully supported</a> accross browsers, why do we need to go by a lib to do the job ? Isn't this mechanism therefore already implemented in all browsers ? Or is there some limitations/features i'm not aware of ?</p>
<p>All answers are welcome, thanks in advance</p>
Continue reading...
 
Top