Skip to content

HTTPS clone URL

Subversion checkout URL

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

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.