Commit Graph

4 Commits

Author SHA1 Message Date
bankosegger
0383b4e8cc fix: raise the default print gamma to 2.7 for brighter photos 2026-11-20 18:59:37 +01:00
bankosegger
c7af3e320b fix: print each raster band as its own ESC/POS job
The Birch 0CP-Q3 loses sync unless GS v 0 directly follows ESC @, and on
either SII head command, printing the dot data as metres of text instead
of the photo. Initialize per band and leave density and speed unset.
2026-11-14 16:28:55 +01:00
bankosegger
4fb2ad7757 feat: default to an 80 mm USB thermal printer
Fall back to /dev/usb/lp0 at 576 dots when the printer variables are
unset; an empty PHOTOBOOTH_PRINTER still disables printing. Log the
resolved printer at startup.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 15:06:36 +01:00
bankosegger
a2b83744db feat: load printer configuration from .env
Configure the 80 mm thermal printer (576 dots) via a committed .env file,
loaded at startup with dotenvy. Real environment variables take precedence.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 15:00:03 +01:00