Things used in this project

Schematics

Schema Photobooth
Schema photobooth

Code

Code snippet #1Plain text
Fredericks-Mac-mini:~ frederickvandenbosch$ sudo diskUtil list
Fredericks-Mac-mini:~ frederickvandenbosch$ sudo diskUtil unmountDisk /dev/diskX
Fredericks-Mac-mini:~ frederickvandenbosch$ sudo dd if=Downloads/2015-09-24-raspbian-jessie.img of=/dev/diskX bs=1m
Fredericks-Mac-mini:~ frederickvandenbosch$ sudo diskUtil unmountDisk /dev/diskX
Code snippet #2Plain text
pi@photobooth ~ $ sudo apt-get install matchbox-keyboard
Code snippet #3Plain text
pi@photobooth ~ $ sudo raspi-config
Code snippet #4Plain text
pi@photobooth ~ $ sudo apt-get install python-serial python-imaging python-unidecode
Code snippet #5Plain text
pi@photobooth ~ $ sudo nano /boot/cmdline.txt

#dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
Code snippet #6Plain text
pi@photobooth ~ $ sudo apt-get install git
pi@photobooth ~ $ git clone https://github.com/adafruit/Python-Thermal-Printer
pi@photobooth ~ $ sudo reboot
Code snippet #7Plain text
pi@raspberrypi ~ $ cd Python-Thermal-Printer
pi@raspberrypi ~/Python-Thermal-Printer $ python printertest.py
Gist
https://gist.github.com/fvdbosch/bc8b1dab6184d5069740.js

Credits

Logo wit darkbg
Frederick Vandenbosch
8 projects • 61 followers
Building electronic things
Contact

Replications

Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback

Comments

Sign up / LoginProjectsPlatformsTopicsContestsLiveAppsBetaBlog