Skip to content
Google Cloud Print driver for CUPS, allows printing to printers hosted on Google Cloud Print
Python Shell Makefile
Latest commit 3899bd3 Jun 29, 2015 @simoncadman Enable slack
Failed to load latest commit information.
cron.daily Install crontab in ebuild Mar 16, 2014
logo-sources Updated logo,renamed icon-sources dir Jan 18, 2015
oauth2client Reverted oauth2client back to vanilla v1.4.2 , added Ubuntu 12.04 wor… Dec 7, 2014
packages Merge branch 'yosemitefix' May 30, 2015
selinux Load selinux module in rpm Apr 15, 2014
testing Always return 2 params from _getCUPSQueueNameAndPrinter Mar 1, 2015
.coveragerc Added more tests for cupshelper Dec 14, 2014
.gitignore Added more to gitignore file Mar 1, 2015
.landscape.yaml Ignore oauth2client dirs in landscape Dec 13, 2014
.travis.yml Enable slack Jun 29, 2015
COPYING Changed configure script to use variables where possible Oct 9, 2011
Makefile.in Remove GUI script if installing without X support, in makefile Sep 2, 2014
README.md Output more detail on everything except pass, added py.test command t… Mar 1, 2015
auth.py Stop httpd service after accepting auth code Mar 9, 2015
backend.py Fix error message when printer not found Feb 13, 2015
ccputils.py Fix arguments parsing, add gui option Mar 9, 2015
cloudprintrequestor.py Remove use_cdd param from submit function Aug 14, 2014
configure Remove GUI script if installing without X support, in makefile Sep 2, 2014
configure.in Remove GUI script if installing without X support, in makefile Sep 2, 2014
cupshelper.py Always return 2 params from _getCUPSQueueNameAndPrinter Mar 1, 2015
deleteaccount.py Import sys to allow exiting on CUPS connection failure Jan 18, 2015
dynamicppd.py Bumped version number, updated changelogs Dec 12, 2014
install-sh Added GNU install-sh Oct 9, 2011
listcloudprinters.py Bumped version number, updated changelogs Dec 12, 2014
logo.png Updated logo,renamed icon-sources dir Jan 18, 2015
pre-commit.py Changed file param to be alteredfile in pre-commit to prevent conflic… Jul 5, 2014
printer.py Use DefaultLanguage from CUPS config to determine locale instead of e… Feb 14, 2015
printermanager.py Remove last of direct pycups usage Jan 18, 2015
refreshtokens.py Bumped version number, updated changelogs Dec 12, 2014
reportissues.py Merge 20140814-security branch Dec 13, 2014
setupcloudprint.py Fix arguments parsing, add gui option Mar 9, 2015
setupcloudprintgui.py Remove unused import Dec 13, 2014
upgrade.py Use CUPSHelper instead of cups directly in upgrade script, add getPPD… Jan 18, 2015

README.md

Build Status Coverage Status Code Health

INTRODUCTION

Google Cloud Print driver for CUPS, allows printing to printers hosted on Google Cloud Print ( see http://www.google.com/cloudprint for more information ).

INSTALLATION

PACKAGE INSTALL ( Recommended )

The recommended way to install CUPS Cloud Print is using your package manager, please see http://ccp.niftiestsoftware.com/ for installation instructions.

SOURCE INSTALL

Clone the git repo:

git clone git://github.com/simoncadman/CUPS-Cloud-Print.git

cd CUPS-Cloud-Print/

./configure

make install

Follow configuration below.

CONFIGURATION

Run /usr/share/cloudprint-cups/setupcloudprint.py ( or /usr/local/share/cloudprint-cups/setupcloudprint.py ) and either allow it to add all Cloud Print printers at once, or say 'N', and add manually:

Add a new printer ( via http://127.0.0.1:631 or usual interface ) as a 'Google Cloud Print' network printer. Select the 'Make' as Google, and 'Model' as Cloud Print. Supply the connection name as a simple URI pointing to the printer you want to setup, you can obtain a list of URIs from /usr/share/cloudprint-cups/listcloudprinters.py ( or /usr/local/share/cloudprint-cups/listcloudprinters.py ) :

Print a test page, to confirm it is working.

Assuming the test page prints correctly, installation is complete.

DEVELOPING

Before commiting to the git repository you should set up the pre-commit hook, this ensures the version numbers in the scripts are updated:

ln -s ../../pre-commit.py .git/hooks/pre-commit

To run unit tests with a coverage report ( output into the htmlcov dir ) run this from within the CUPS Cloud Print directory:

py.test -rfEsxw --cov . --cov-report html --ignore=oauth2client

Copyright and Trademark Information

Icon is licensed as Creative Commons - Attribution (CC BY 3.0) - http://creativecommons.org/licenses/by/3.0/us/, as are all original parts of the icon, which are combined to create the CUPS Cloud Print icon:

- Cup icon ( http://thenounproject.com/term/cup/6566/ ) created by Monika Ciapala ( http://thenounproject.com/merdesign/ , http://www.merdesign.co.uk/ )

- Cloud icon ( http://thenounproject.com/term/cloud/2788/ ) created by P.J. Onori ( http://thenounproject.com/somerandomdude/ , http://somerandomdude.com/ )

- Printer icon ( http://thenounproject.com/term/printer/5043/ ) created by Dmitry Baranovskiy ( http://thenounproject.com/DmitryBaranovskiy/ , http://dmitry.baranovskiy.com/ )

- Printer icon ( http://thenounproject.com/term/printer/5043/ ) created by Dmitry Baranovskiy ( http://thenounproject.com/DmitryBaranovskiy/ , http://dmitry.baranovskiy.com/ )

- Arrow icon ( http://thenounproject.com/term/arrow/5449/ ) created by Jamison Wieser ( http://thenounproject.com/jamison/ , http://jamisonwieser.com/ )

Software copyright Simon Cadman and licenced under GNU GPL v3 ( http://www.gnu.org/licenses/gpl.html ).

Google is a trademark of Google Inc, and the software is unaffiliated with Google in any way.

CUPS and the CUPS logo are trademarks of Apple Inc. CUPS is copyright Apple Inc.

Something went wrong with that request. Please try again.