Skip to content

Cat Printer 0.4.1

Choose a tag to compare

@dasistdaniel dasistdaniel released this 27 Sep 06:46
· 6 commits to main since this release

Detects charging and tells you when the battery is full.

Note

Programmed with AI. Code, protocol analysis and documentation were written by an AI assistant (Anthropic's Claude, via Claude Code) and tested by a human on real hardware (a YHK-… printer on Windows 11). Use at your own risk.

New

  • Charging detection. With the USB cable plugged in, the printer reports its charging voltage, so the battery percentage looked too high. The driver now recognises charging from a voltage jump between two idle readings and shows „lädt …“ (charging) instead of a percentage, pauses the low-battery warnings and checks every 5 minutes.
  • "Fully charged" notification once per charge, when the charging voltage has reached the top twice in a row – no matter how empty the battery was before.
  • Unplugging is detected from the voltage dropping again; the last reading is kept in battery.json, so this works across restarts and updates too.

Verified on the printer: 7.78 V with cable → 7.56 V unplugged (real level 46 %) → 7.76 V plugged in again, detected as charging.

Download

CatPrinter.exe – double-click: Yes installs or updates (settings are kept), No runs it without installing. For a fully portable copy, put an empty file named portable next to the exe.

Warning

The exe is not code-signed. Windows SmartScreen may say "Windows protected your PC" – click More info → Run anyway. You can also build it yourself with build.ps1 or run from source.

SHA256 CatPrinter.exe: 95584DAD0ED9D9D810851674DF12FEC6ECCB26020532B8C9D64C934681C9B9BF


🇩🇪 Kurz auf Deutsch: Erkennt jetzt, wenn der Drucker am USB-Kabel lädt, zeigt „lädt …“ statt einer zu hohen Prozentzahl und meldet „voll geladen“, sobald der Akku voll ist. Zum Aktualisieren die neue CatPrinter.exe starten und Ja wählen.