-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Count printed pictures #212
Comments
I did something simalery. My goal was a webpage with all the photobooth statistics. This is the result: I use a PHP API and modified the takePic.php and print.php file. Now every time someone prints a picture or makes a photo a curl request will be send to my server. My server takes the request iand saves them in a Database. Finally my website evaluate the database and shows all the metrics in a nice way. maybe that's a little over the top but let me know, if you want more infos. 😄 |
Hi @flighter18, this is brilliant, but for the live monitoring there is connection to the internet required, isn't it? Besides that, I think I am not able to implement that into my system. What resources do you need for that system? But I think it is not absolutey necessary to have a live monitoring (but it's very nice tho :D), a simply offline tracking would be absolutely sufficient. BR, |
Here's an example how to implement a counter: |
Actually you don't need an internet connection. you could do it on the photobooth hardware. maybe you could tryout andi34's implementation. 😄 |
It's not my implementation, but a hint on how it could work and how it could be implemented. |
@andi34 sorry for the misunderstanding |
Hi @flighter18 |
hi @flacoonb You will find the code here: |
thx @flighter18 |
ou sorry wrong theme :) But if you're so interested then i can create a repo this weekend. :) |
😉 @flighter18 |
@flighter18 |
Is your feature request related to a problem? Please describe.
It would be nice to have a counter which shows me the amounts of printed pictures. As me and many other use a DNP printer, which has no display showing the remaining possible prints on the paper roll, you always run into danger, that the roll with go empty while having an event.
Describe the solution you'd like
A simple counter, maybe in the admin page (has to be resettable).
Describe alternatives you've considered
I always took the amount of files in the /data/print/ directory, but on that way I can't count the prints which got printed several times.
Additional context
A possible solution could be to count the executions of the print.php file, but myself is not able to code something like that.
The text was updated successfully, but these errors were encountered: