You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Root cause: with the global Arabic/Persian shaping support printer setting enabled, the ESC/POS bill paths still skipped any line containing Persian/Arabic script — the shaping preference was not threaded through every backend/frontend print path (receipt, tax bill, KOT, Orders preview), so item lines hit the unsupported-character guard and were dropped instead of being sent for firmware shaping; their skip reasons were also lost in the warnings-toast classification.
Fix state: shaping is now threaded consistently through all print paths; Persian formatting characters pass the shaping guards; C0/DEL control bytes are sanitized out of raw output; shaped lines stay width-bounded with encoder centering preserved centrally; warning reasons surface correctly; English-only receipts remain byte-identical. Regression tests cover Persian output, narrow layouts, sanitization, centering, and ASCII byte stability. Ready for review in #452 (CI green), which carries forward #450 plus a strict-typecheck build repair.
Activity
khaira777 commentedon Aug 21, 2026
thanks for reporting this @MaMaDTHUG82 , will look into this and get back to you soon.
khaira777 commentedon Aug 22, 2026
Root cause: with the global Arabic/Persian shaping support printer setting enabled, the ESC/POS bill paths still skipped any line containing Persian/Arabic script — the shaping preference was not threaded through every backend/frontend print path (receipt, tax bill, KOT, Orders preview), so item lines hit the unsupported-character guard and were dropped instead of being sent for firmware shaping; their skip reasons were also lost in the warnings-toast classification.
Fix state: shaping is now threaded consistently through all print paths; Persian formatting characters pass the shaping guards; C0/DEL control bytes are sanitized out of raw output; shaped lines stay width-bounded with encoder centering preserved centrally; warning reasons surface correctly; English-only receipts remain byte-identical. Regression tests cover Persian output, narrow layouts, sanitization, centering, and ASCII byte stability. Ready for review in #452 (CI green), which carries forward #450 plus a strict-typecheck build repair.
fix(printer): thread arabicShaping flag through backend and frontend …
docs(printing): add non-Latin ESC/POS capability study and hardware-t…