Skip to content

Fix Bluetooth receipt text regression and add ASCII charset#115

Merged
osswald merged 3 commits into
mainfrom
fix/bt-printer-esc-t-transliterate
Jul 9, 2026
Merged

Fix Bluetooth receipt text regression and add ASCII charset#115
osswald merged 3 commits into
mainfrom
fix/bt-printer-esc-t-transliterate

Conversation

@osswald

@osswald osswald commented Jul 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • Restore per-line ESC t code-page selection before each text block in ESC/POS receipts, fixing the v1.5.0 regression where some Bluetooth printers printed only the logo (or nothing when logo was disabled).
  • Add an ascii charset preset with German transliteration (ä→ae, ö→oe, ü→ue, ß→ss) for Bluetooth printers that ignore code-page commands.
  • Expose the new option in Android Bluetooth Drucker → Zeichensatz as ASCII (ae/oe/ue).

Test plan

  • Deploy updated Pi backend and reload Pi frontend on Android
  • Printer 2: Run Testbeleg drucken with logo on — expect full receipt (logo + text)
  • Printer 2: Disable logo in cloud payment receipt profile — expect text-only receipt to print
  • Printer 1: Test umlauts with default PC858; if still wrong, switch to ASCII (ae/oe/ue) and confirm readable output
  • pi/backend pytest (250 passed)
  • pi/frontend vitest (219 passed)
  • ./scripts/lint.sh

Made with Cursor

Restore per-line ESC/POS code-page selection so cheap BT printers print text again after v1.5.0, and add ae/oe/ue transliteration for devices that ignore umlaut code pages.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cursor

cursor Bot commented Jul 9, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@osswald osswald added the release:patch Patch release on merge (fixes) label Jul 9, 2026
github-actions Bot and others added 2 commits July 9, 2026 10:16
Regenerate openapi.json and api.generated.ts so openapi-drift-pi CI passes.

Co-authored-by: Cursor <cursoragent@cursor.com>
@osswald osswald merged commit 2554ad2 into main Jul 9, 2026
10 of 11 checks passed
@osswald osswald deleted the fix/bt-printer-esc-t-transliterate branch July 9, 2026 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release:patch Patch release on merge (fixes)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant