E-commerce shipping labels & batch tag print

OMS desks need 100×150 labels silently. HTML + batchPrint fits peak waves; pair with WMS remote push.

Print architecture

OMS HTML → batchPrint → warehouse PC client → thermal printer.

Typical scenarios

Peak batch

batchPrint queues

Task array with default pdf/printOptions.

Integration steps

  1. Install client + bind thermal printer
  2. Wire batchPrint in npm
  3. Zero margins in HTML
  4. Monitor errors with formatPrintError

100×150 label parameters

await webPrintPdf.printHtml(
  labelHtml,
  { width: '100mm', height: '150mm', printBackground: true },
  { printerName: '热敏面单机' }
);

Parameter tips

  • mm width/height in pdfOptions
  • printerName matches client list
  • Merge rules in print-options guide

Selection notes

Browsers cannot silent-print labels at scale—use web-print-pdf + client.

Troubleshooting

Related guides on this site

FAQ

Works with any OMS?

Yes—supply HTML or push jobs; local client prints.

500 labels per batch?

batchPrint queues—watch printer stability.

Mac warehouse?

Yes—macOS client, same API.

vs hiprint templates?

HTML + printHtml is lighter for many teams.

Multiple remote stations?

One client per desk; server push via WebSocket/HTTP.

Client deployment by platform

The same web-print-pdf front-end runs on Windows, macOS, and Linux/domestic OS—install the matching client on each desktop.

Download client — free trial View npm package Documentation