Retail POS thermal receipt silent print

For retail IT and procurement: 80mm thermal POS receipts without dialogs—architecture, chain rollout, and TCO vs window.print / cloud SaaS. See also receipts guide.

Print architecture

POS web UI → printHtml → local client → thermal printer.

Typical scenarios

80mm

Grocery / restaurant POS

80mm demo; zero margins.

Dual screen

Preview then silent

Use preview action for tuning.

Mixed chain

Win tills + Mac back office

Same npm API, different installers.

Integration steps

  1. Install client on till PC
  2. Fix HTML to 80mm width
  3. Set printerName
  4. getConnectStatus before print

80mm receipt parameters

await webPrintPdf.printHtml(
  receiptHtml,
  { width: '80mm', height: '120mm', printBackground: true },
  { printerName: 'Thermal printer', copies: 1 }
);

Parameter tips

  • 80mm width in pdfOptions
  • formatPrintError for UX

Selection notes

ApproachSilentNamed printer
window.printNoWeak
web-print-pdf + clientYesYes

Troubleshooting

  • Blank pages → zero margins
  • Tiny text → test px/pt on device

Related guides on this site

FAQ

Silent in POS browser?

Yes—with desktop client + web-print-pdf.

Pick USB thermal printer?

printOptions.printerName from client list.

Offline till?

getConnectStatus; queue reprint when client returns.

vs ESC/POS?

HTML layouts are easier to maintain.

UniApp POS H5?

H5 on PC browser works; mini programs cannot reach desktop client.

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