Skip to content

Not showing Items in Bill #437

Closed
Closed

Description

@MaMaDTHUG82

Bug description

i tried with different languages and type of Bill Templates , not worked , and i enabled all of Bill Contents

Image

Steps to reproduce

1-Order Something
2-Check the bill ( From PDF of paper from printer )

Expected behavior

Its must show the Items in list

Actual behavior

everything worked while printing , except list of items in bill .

Operating System

Windows

Installation Method

GitHub / direct installer

FloCafe version

3.3.0

Activity

  1. khaira777 commented on Aug 21, 2026

    @khaira777
    Contributor

    thanks for reporting this @MaMaDTHUG82 , will look into this and get back to you soon.

  2. added theissue type on Aug 21, 2026
  3. self-assigned this
    on Aug 21, 2026
  4. khaira777 commented on Aug 22, 2026

    @khaira777
    Contributor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions