Using the browser's print or save to pdf file using the jspdf library
See also: [Generate pdf from HTML in div using Javascript](https://stackoverflow.com/questions/18191893/generate-pdf-from-html-in-div-using-javascript), https://codepen.io/AshikNesin/pen/KzgeYX
The code is from Bootstrap examples: https://getbootstrap.com/docs/4.0/examples/dashboard/
Source code on Github: https://github.com/twbs/bootstrap/tree/master/site/docs/4.3/examples/dashboard