Development #7099
Updated by Kyle Chong 3 months ago
Refer to: * docs/planning/modules/M07_Receipt.md * docs/planning/modules/M16_POS_Setup_Hardware.md Support common receipt Receipt (M07) (docs/planning/modules/M07_Receipt.md). Build the receipt/printing behaviour in both Cashier projects. Cover configuration and printer paper widths based on POS setup. Scope: * Support configured paper width. * Support common widths such as 58mm and 80mm where required. * Adjust character/column layout automatically. * Adjust wrapping based on available printable width. * Keep totals/amount columns aligned. * Support printer-specific printable width where configured. * Allow future width/profile additions failure without redesigning losing paid sales. Done when receipt templates. M16 provides output meets the printer/profile configuration; M07 uses it for rendering. Done when: The same transaction can be rendered correctly for each supported configured paper width. linked MD.