Open churongcon opened 2 years ago
My data: /hello.html <p> hello </p> and print page /print.html
<p> hello </p>
window.printPdfBase64 = function () { fetch('hello.html').then(function (response) { response.text().then(function (mydata) { printJS({ printable: mydata, type: 'html' }) }) }) }
But it dont work help me :(
My data: /hello.html
<p> hello </p>
and print page /print.htmlBut it dont work help me :(