Web Print Expert Documentation

Official Web Print Expert documentation hub: comparison guides (Lodop, window.print), framework integration (Vue/React), business scenarios (receipts, WMS, domestic OS), client deployment, and advanced configuration—plus 25 live demos and the web-print-pdf API reference below for silent HTML printing.

Live demos

25 runnable demos: demo receipts, demo thermal slips, demo package labels, watermarks, batch print. Pick a sample, view code, run with the local client.

Run now

Open live demo center

Run printHtml, batch print, watermark, and more in the browser—no local project setup.

Open demos

Topic guides

Guides grouped by advanced config first, then comparison, integration, scenarios, and deployment.

Business scenarios

Receipts, shipping labels, WMS, and anonymized deployment summaries.

Deployment snapshots

Anonymized summaries for reference; actual setups vary by environment.

Government IT

Vue admin on Kylin desktops

A provincial agency needed silent fiscal receipts on domestic OS terminals instead of browser print dialogs.

  • Linux deb client on UOS / Kylin terminals
  • Vue 3 + web-print-pdf for one-click silent print
  • Same HTML templates as Windows—less dual maintenance
Government domestic OS case study
Logistics WMS

Remote label printing

A logistics WMS pushes shipping labels to warehouse PCs; printers run without manual clicks.

  • WMS runs receive/store service; exposes WebSocket/HTTP with fixed JSON
  • Desk PCs configure that URL in the client
  • Peak output without browsers or printHtml
Logistics WMS case study
Manufacturing ERP

UOS shop-floor reports

A manufacturer prints dynamic ERP HTML reports from UnionTech UOS workstations on the shop floor.

  • Linux client on intranet-only PCs
  • printHtml for work orders and QC reports
  • HTML to PDF stays on-device
Manufacturing ERP case study

API overview

printHtml

Print HTML strings. PDF layout is fully controlled by HTML/CSS—ideal for dynamic reports, receipts, and order pages.

printHtmlByUrl

Print online HTML page URLs with cookies, headers, timeout, and other options.

printHtmlByBase64

Print Base64-encoded HTML content.

batchPrint

Submit multiple print jobs—labels, invoices, and high-volume scenarios.

Remote printing (WebSocket / HTTP)

Fixed job message JSON; build receive/store + expose WebSocket/HTTP; desk client enters that URL. webPrintPdf.printHtml etc. are format reference onlynot called on the remote path.

printPdfByUrl / printImageByUrl

Print online PDF or image files with printer and copy count options.

See the GitHub README for more APIs.

See Vue silent printing, React silent printing, and Next.js silent printing guides.

API & troubleshooting reference (optional)

Open when you need parameter signatures or WebSocket debugging; start with the Advanced guides above.

FAQ

What do I need before using web-print-pdf?

You must install the Web Print Expert client first. The npm package only provides JavaScript APIs; printing runs on the local client.

How do I use it in a Vue project?

Run npm install web-print-pdf, import it in your component, and call the APIs like any npm library.

How do I configure remote printing?

Fixed message format. Build receive/store + expose a WebSocket/HTTP consumer API; desk clients enter that URL under Remote Print. Do not call webPrintPdf.printHtml on the remote path (npm is format reference only). See the remote print guide.

Get started

Download client free View npm package View pricing