Built-in Chrome engine — what you see is what you print
Chromium-based local rendering keeps CSS3, Flex/Grid, and component-library styles aligned with browser preview—what you see is what you print. Complex reports and dynamic pages stay faithful.
Skip to main content
The web printing choice for IT innovation
Supports Windows, Linux, and macOS—including deep integration for Kylin, UnionTech UOS, and other domestic OS. One line for HTML to PDF, silent printing, and batch output. Local processing keeps data on-device—breaks through window.print limits for government, finance, and healthcare. Vue, React, and Node.js supported.

import webPrintPdf from 'web-print-pdf';
await webPrintPdf.printHtml(
'<h1>Order details</h1>',
{ paperFormat: 'A4' },
{ printerName: 'Default printer' }
);
await webPrintPdf.printHtmlByUrl(
'https://example.com/page.html',
{ paperFormat: 'A4' }
);
await webPrintPdf.printPdfByUrl(
'https://example.com/doc.pdf'
);
Supports most Linux distributions—stable on Kylin, UOS, Ubuntu, Debian, and more. Built for IT innovation and domestic replacement in government, finance, and energy sectors.
Chromium-based local rendering keeps CSS3, Flex/Grid, and component-library styles aligned with browser preview—what you see is what you print. Complex reports and dynamic pages stay faithful.
One-line printHtml for Vue and React—no browser plugins. Flexible paper, watermark, and printer settings. Built-in editor for quicker API debugging.
Windows, Linux, and macOS installers with deep Kylin and UOS support. Migrate platforms without rewriting print code—the same web-print-pdf API deploys everywhere.
Install the client, run npm install web-print-pdf, and start calling APIs · Full documentation
Print HTML strings—fragments or full pages
Print online HTML URLs with cookies, headers, timeout, and more
Print Base64-encoded HTML
Print online PDF URLs to a selected printer
Print Base64-encoded PDF files
Print online image URLs
Print Base64-encoded images
Submit multiple print jobs—labels, invoices, and more
Browser-level preview before printing
printHtml converts HTML to PDF and prints in one line—low learning curve, fast integration.
Customize client title, theme color, and layout via API for on-brand printing tools.
Use familiar HTML and CSS for print templates—WYSIWYG without extra markup languages.
Built-in job queue for large print volumes—ideal for ERP and WMS systems.
Robust error handling and logging with traceable job status for production use.
Docs, sample code, and email support to help you integrate and debug web-print-pdf quickly.
One API for domestic intranets, admin dashboards, labels, and silent printing—the print problems frontends dread, solved out of the box
Same APIs on Kylin, UOS, Ubuntu, and Windows—migrate print capabilities without rewrites.
Print orders, reports, and receipts from SPAs—no browser print dialog.
npm install web-print-pdfBuild HTML on the fly; printHtml prints with full CSS control.
Break free from window.print—drive local printers entirely from JavaScript.
Anonymized summaries for reference; actual setups vary by environment.
A provincial agency needed silent fiscal receipts on domestic OS terminals instead of browser print dialogs.
web-print-pdf for one-click silent printA logistics WMS pushes shipping labels to warehouse PCs; printers run without manual clicks.
A manufacturer prints dynamic ERP HTML reports from UnionTech UOS workstations on the shop floor.
printHtml for work orders and QC reportswindow.print relies on the browser dialog with limited styling and no silent mode. Web Print Expert uses a local client with web-print-pdf for precise HTML/CSS PDF output, silent printing, and batch jobs.
Download and install the client, run npm install web-print-pdf, then call printHtml, batchPrint, and other APIs from JavaScript—no browser print dialog.
Yes. printHtml accepts HTML strings; PDF layout is determined by HTML and CSS—great for dynamic reports and receipts.
Yes. web-print-pdf is a standard npm package for Vue, React, Angular, and Node.js.
No. All HTML-to-PDF and printing runs locally—suitable for secure enterprise intranets.
Yes. batchPrint submits multiple jobs at once—ideal for labels, invoices, and bulk reports.
Install the Web Print Expert deb client on Kylin or UOS, run npm install web-print-pdf in your project, and call printHtml for silent JavaScript printing without browser dialogs—ideal for intranet admin and ERP apps.
Yes. Download the client and install the web-print-pdf npm package to try full HTML-to-PDF, silent printing, and printer management.