+++ title = "Hardware :: Raspberry Pi" +++

A number of the OpenTHC projects build on top of the Raspberry Pi platform. Tools such as our EMC and POS projects depend on this.

Mostly, we don't care what case or hardware you choose for the Pi. And, in fact, much of these tools will work on other similar platforms (eg: Banana Pi).


@see http://www.howtogeek.com/169566/how-to-turn-a-raspberry-pi-into-a-google-cloud-print-server/ @see https://support.google.com/a/answer/2906017?hl=en



Cases + Touch Screen

Install Raspbian

View downloads at https://www.raspberrypi.org/downloads/raspbian/

curl -vL https://downloads.raspberrypi.org/raspbian_lite_latest > raspbian.zip
unzip raspbian.zip
dd bs=1M if=2016-02-26-raspbian-jessie-lite.img of=/dev/mmcblk0

Then boot the Raspberry Pi

apt-get update ; apt-get upgrade

Install CUPS

apt-get install cups

Configure CUPS

* Add Printer
* Select 'Share This Printer'
* Model: 'Zebra ZPL Label Printer (en)'
* Default Options: Set Page Size - 2.25 x 1.25
* Start ./gcp-cups-connector
* You will get an announcment!
* Print:
    Paper: 2.25 x 1.25 @203dpi
    Un Check: Fit to Page

Install Google Cloud Print Helper

apt-get install libsnmp30


Update cupsd.conf

Listen All

Add these to each Location
    Allow localhost
    Allow from @LOCAL

Using Chrome|Chromium

Alternate method using Desktop

* http://www.howtogeek.com/169566/how-to-turn-a-raspberry-pi-into-a-google-cloud-print-server/
Warning: yaml_parse(): end of stream reached without finding document 0 in /opt/openthc/www/lib/Controller/Page.php on line 59 Warning: implode(): Invalid arguments passed in /opt/openthc/www/lib/Controller/Page.php on line 63