โ† Back to Insights
Changelog
Dynamics Mobileยท15 April 2026ยท1 min read
๐Ÿ–จ๏ธ Print SDK Update v2.8.1  โ€” Encoding Safety, QR Fix & Layout Precision

๐Ÿ–จ๏ธ 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