Skip to content
프로젝트

소개

Google cloudprint proxy

개발 도구

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
기록 수집 중
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Share your CUPS printers with google's cloud print. Works with linux and OS X.

This software is a python implementation of a cloud print connector. Unlike Google's linux connector, it does not require chrome to be installed on the server.

Requires

  • python 2.6 or 2.7
  • pycups (can be tricky on OS X) which depends on libcups2-dev

Usage

cloudprint [<option> ...]
-d               : enable daemon mode (requires the daemon module)
-l               : logout of the current google account
-p pid_file      : path to write the pid to (default cloudprint.pid)
-a account_file  : path to google account ident data (optional)
-c               : establish and store login credentials, then exit
-f               : 'fast poll', if notifications aren't working
-i regexp        : include files matching regexp
-x regexp        : exclude filees matching regexp
                   regexp: a Python regexp, which is matched against the
                          start of the printer name
-s sitename      : one-word site-name that will prefix printers
-v               : verbose output
--syslog-address : syslog address to use in daemon mode
-h               : display this help

If necessary, cloudprint will respond with a URL to be visited for OAuth2 authentication.

Example

cloudprint
Go to http://google.com/18de674 to claim this printer
trying for the win
trying for the win
success

Examples - Include/Exclude

Include only the printers "lp" and "2up":

cloudprint -i lp -i 2up

Exclude all printers whose names start with "GCP-":

cloudprint -x GCP-

By default, all printers are included. For the include and exclude options, the argument is a regular expression which is matched against the start of the printer name.

For example, to include all printers whose names begin "lp":

cloudprint -i lp # includes both lp and lp2up

Install

pip install cloudprint
or with optional daemon support
pip install cloudprint[daemon]

After running cloudprint, verify that the connector successfully installed the cloud printer by visiting http://www.google.com/cloudprint/manage.html.

관련 프로젝트 살펴보기

불러오는 중…