add page2image. Use print(), html2canvas, canvg and js2pdf to implement convert page. A technical validation of a business project feature, implemented in 1 year ago, and only part of code.