I try to use PrintJs and print a PDF file in safari(14.1.2), but when I preview the print file in dialog, I got a empty page. help me!
Asked
Active
Viewed 247 times
0
-
please share with us your workout, code snippets, error logs, or any useful information to help answer your question. – nima Aug 18 '21 at 09:45
-
const pdfFile = new Blob(['myFile'], { type: 'application/pdf', }); const pdfUrl = URL.createObjectURL(pdfFile); printJS(pdfUrl); – dys Sep 08 '21 at 08:51