
๐จ๏ธ Print SDK Update v2.8.1 โ Encoding Safety, QR Fix & Layout Precision
Weโve released a new version of our print SDK: @dynamicsmobile/sdk-print
This library powers template-based printing across multiple output targets โ including ZPL, CPCL, ESC/POS, HTML, PDF, and on-screen rendering.
โ ๏ธ Important Note (Developers)
This update is developer-only.
โ Does NOT affect existing tenants or deployed environments
โ Applies only to apps rebuilt/recompiled with the latest SDK version
๐ In short: no runtime impact unless you upgrade and redeploy
โจ Features
๐ค Structured Printer Encoding (Enum)
Weโve introduced a predefined enum for supported printer encodings.
Why this matters:
Eliminates manual string input for encoding
Prevents typos and invalid values
Prepares the platform for UI-driven selection (dropdown instead of free text)
๐ Result: safer configuration + fewer runtime issues
๐ Bug Fixes
๐ณ QR Code Generation Fix
Fixed an issue where QR codes were not generated correctly when using:
{ "type": "barcode" }
QR output is now consistent across all supported formats and printers
๐ Result: reliable QR printing in production scenarios (labels, invoices, receipts)
๐ Improved Table Ruler Positioning
Adjusted rendering logic for rulers inside table layouts
Removed excessive empty spacing during rendering
๐ Result: cleaner, more compact document layouts
๐ Why This Matters
This release continues the evolution of the SDK toward:
Strongly-typed template definitions
More predictable rendering across devices and formats
Reduced configuration errors during development
For teams building custom print templates (invoices, receipts, labels), this means:
less debugging
fewer surprises in production
cleaner output across printers and formats
๐ง Recommended Action
If you are actively developing or maintaining custom print templates:
Upgrade to the latest SDK version
Recompile your applications