Hak5 1805 – Raspberry Pi Google Cloud Print Server
Making a Raspberry Pi Google Cloud Print Server
- Download Raspian Wheezy
- Image it to an SD card (win32diskimager)
- Power up the Pi
- Give your Pi all the SD card space for add’tl storage
- Enable SSH, boot into Desktop, change settings as needed.
- Make sure you have Internet access and issue “sudo apt-get upgrade; sudo apt-get update“
Adding CUPS to your Raspberry Pi
- Sudo apt-get install cups
- sudo usermod -a -G lpadmin pi
- sudo nano /etc/cups/cupsd.conf
# Only listen for connections from the local machine# Listen localhost:631Port 631
< Location / ># Restrict access to the server...Order allow,denyAllow @local< /Location >< Location /admin ># Restrict access to the admin pages...Order allow,denyAllow @local< /Location >< Location /admin/conf >AuthType DefaultRequire user @SYSTEM# Restrict access to the configuration files...Order allow,denyAllow @local< /Location >
- Save, exit, and issue “sudo /etc/init.d/cups restart“
- Get into cups with 10.73.31.208:631
- Run a test print to make sure you’re connected.
- Ours only worked with lpr -P “”Zebra”” test.txt in command line, but it printed!
Now add a printer to Google Cloud Print. Install Chromium browser: sudo apt-get install chromium-browser. Then go to settings, advanced settings, look for Google Cloud Print, add printer. Now, from other computers you can access the RPi as a print server and print to the Zebra printer with regular print dialog. Must be logged into the same account to access the printer.
Lastly, if you do want to share your Google cloud printer for more than just your own login, follow the directions on Google’s tutorial and you should be up and running for all your accounts!