andreknieriem / photobooth

A photobooth Web-Application for raspberry pi with gphoto2
https://photobooth.andrerinas.de/
MIT License
294 stars 163 forks source link

Instant print? #295

Closed henry76 closed 2 years ago

henry76 commented 2 years ago

Hi,

I am looking for a way to print the collage after it has been taken. I tried adding a single sleep/print command to the print command, but for a collage it will not work. The aim is to avoid people hitting the touchscreen later that night :)...

Any clues on how to do that?

BR, Henry

andi34 commented 2 years ago

I've added this to my fork https://github.com/andi34/photobooth/commit/2ae06404f7bd05ac1ce5e2402b1381c00f5906d0

henry76 commented 2 years ago

I've added this to my fork andi34@2ae0640

Hi, thank you. Added the lines to version 2.10. Works like a charm 👯 after changing api.printImage(filename); to public.printImage(filename); in src/js/core.js

andi34 commented 2 years ago

Yeah, I've forgot to mention. I've changed some more things too. But good to hear you've found out and solves your Problem.

HBTphoto commented 2 years ago

Hi, using a 22" screen without touch, i'm looking for a solution to print automaticaly the picture taken. How to use the "andi34@2ae0640" ? I need to add the line manualy in the config file and it will work ?

andi34 commented 2 years ago

You need to apply all the changes (not only config) by hand or install latest development version of my fork.

Since a lot of stuff changed you must setup from scratch on a clean PiOS.

wget https://raw.githubusercontent.com/andi34/photobooth/dev/install-raspbian.sh

sudo bash install-raspbian.sh

The whole Changelog can be found here: https://github.com/andi34/photobooth/wiki/changelog

HBTphoto commented 2 years ago

Thank andi34, i install the latest V3, that better the instant print work and the possibility to use a print button is good for me. That a very accurate version !

andi34 commented 2 years ago

You're welcome! If you face any issues feel free to open an issue at my fork: https://github.com/andi34/photobooth