Running web-print-pdf in parallel with Lodop

Many teams keep Lodop while adding an optional parallel HTML print path for reports, browser upgrades, or domestic desktops. This guide covers inventory → PoC → parallel run → phased rollout—not a drop-in Lodop API replacement. See Lodop comparison and C-Lodop notes.

How to read this guide

Lodop has a long track record in overlay and intranet printing. If your Lodop deployment is stable, no change is required because of this page. This guide is for teams evaluating an additional HTML + npm path alongside Lodop.

Pre-migration inventory

Document the current state before choosing PoC candidates or keeping Lodop forms.

ItemRecordWhy
Forms listName, page, daily volumePrioritize PoC / HTML work
Layout typeA4 / thermal / overlayHTML fit assessment
PrintersDriver name, paperprintOptions
OS / browserWindows / domestic OS, versionsClient package
Lodop entry pointsAPI calls, C-Lodop usageParallel switches & rollback

Implementation mapping (reference)

Typical integration differences—not a drop-in API map. Verify with official product docs.

StepTypical LodopTypical web-print-pdf
LayoutLodop commands / overlayHTML/CSS template
TriggerLODOP APIsprintHtml
Silent outputLocal control / serviceWeb Print Expert client + npm
BrowserIncludes C-Lodop deployStandard Web + local WebSocket
Domestic OSPer Lodop vendor docsdeb client (Linux deploy)

Phased path (Lodop may run in parallel)

Phases may overlap. Lodop can handle forms not yet moved to HTML throughout.

Phase 1: PoC (about 1–2 days)

  1. Install the client
  2. npm install web-print-pdf
  3. Pick a simple HTML report (not the hardest overlay first)
  4. Call printHtml; preflight getConnectStatus()
  5. Compare sample output with Lodop side by side
  6. Sign off with business owners before parallel run

Phase 2: Parallel run (about 2–4 weeks)

  1. Feature flag: new modules use web-print-pdf
  2. Keep legacy Lodop forms on Lodop
  3. Document rollback (disable flag, restore Lodop calls)
  4. Remote push: WMS remote labels
  5. Review volume and errors after 2–4 weeks

Phase 3: HTML rollout by priority

  1. Prioritize by volume × HTML effort
  2. Migrate A4 / order reports first
  3. Overlays: case-by-case; keep Lodop where needed
  4. Domestic desks: Kylin / UOS
  5. Update ops docs and error handling

Parallel run & rollback

Keep Lodop services, licenses, and templates during parallel run. Rollback = disable the web-print-pdf flag and restore Lodop calls—do not uninstall Lodop before PoC sign-off.

Risks & mitigations

  • Overlay drift: calibrate HTML; keep Lodop for misfits
  • Dual pipelines: document which form uses which path
  • Client offline: use getConnectStatus; see error handling
  • Licensing: follow each vendor's terms independently

FAQ

Drop-in replace Lodop with printHtml?

No—prepare HTML/CSS layouts and call printHtml; Lodop templates need a separate rework scope.

When to keep Lodop?

Stable precision overlays and forms that cannot be HTMLized soon can stay on Lodop.

Rollback during parallel run?

Disable the web-print-pdf flag and restore Lodop calls; keep Lodop services installed.

vs C-Lodop / Chrome page?

Browser/C-Lodop notes: C-Lodop guide. This page focuses on phased parallel rollout.

Notice & trademarks

Technical integration reference only. Lodop and C-Lodop are independent products; names are used for identification and route comparison—trademarks belong to their owners. Whether to continue Lodop or adopt web-print-pdf is your organization's decision based on official docs, licensing, and IT policy. This page is not commercial advice about any third party.

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