Silent printing on UnionTech UOS

Deploy the deb client on UOS for dialog-free printing via printHtml. See Linux deployment.

Relation to generic Linux deploy

版本平台打印后端安装包
Windows 版Windows 10/11内置静默打印引擎.exe
Linux 版x64 / arm64系统标准打印服务.deb / .rpm
macOS 版macOS 11+CUPS.dmg

Pick the UOS/architecture build from the download page.

Install steps (deb)

  1. Download UOS deb
  2. Install and start client
  3. npm install web-print-pdf
  4. PoC with printHtml

Troubleshooting

If connection fails:

Front-end integration

Same as Windows/macOS:

npm install web-print-pdf
import webPrintPdf from 'web-print-pdf';

await webPrintPdf.printHtml(
  '<h1>Hello Windows</h1>',
  { paperFormat: 'A4', printBackground: true },
  { printerName: '默认打印机' }
);

Shop floor UOS + HQ Windows can share one npm integration.

Deployment notes

  • Mixed UOS + Windows is common in manufacturing.
  • Keep HTML templates identical across OS.
  • Lodop migration: guide.

Pre-go-live checklist

  • Correct UOS version & CPU arch from download page
  • Client tray/service running
  • Intranet security allows local WebSocket
  • getConnectStatus() passes before rollout
  • Unified HTML templates in mixed Win + UOS fleets

How this page fits with related guides

FAQ

UOS editions?

Follow supported versions on the official download page.

Same deb as Kylin?

Use OS-specific packages—same API; see <a href="../kylin-print/">Kylin guide</a>.

Batch shipping labels?

Yes—<a href="../wms-remote-print/">WMS remote print</a>.

Embedded Electron browser?

Yes if local WebSocket is reachable.

Unify UOS shop floor with Windows office?

Same npm API—OS-specific client installers. Remote labels: WMS guide.

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