import webPrintPdf from 'web-print-pdf'; await webPrintPdf.printHtml('<p>Hello</p>', {}, { copies: 1 });
相关专题:错误处理 · 打印参数