Giter Site home page Giter Site logo

simoncadman / cups-cloud-print Goto Github PK

View Code? Open in Web Editor NEW
178.0 25.0 40.0 2.76 MB

Google Cloud Print driver for CUPS, allows printing to printers hosted on Google Cloud Print

Home Page: http://ccp.niftiestsoftware.com

License: Other

Python 91.87% Shell 6.82% Makefile 0.96% M4 0.35%

cups-cloud-print's Introduction

UNSUPPORTED

CUPS Cloud Print is unsupported and has been for some time. Google Cloud Print itself will also be deprecated in December 2020 and you should migrate to an alternative. See Google for more information.

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.