sudo add-apt-repository ppa:simon-cadman/niftyrepo
sudo apt-get update
sudo apt-get install cupscloudprint
sudo /usr/share/cloudprint-cups/setupcloudprint.py
After it asks for Google Credentials (it will only ask if this is the
first time you have used CUPS CloudPrint, or your credentials are
invalid) it will then ask if you wish to add all printers from your
Google Account.
To make it work with Google's 2 Step Verification system, you must create an "App password". To do this go to: the App passwords page in your Google account and set a new password for the service.
If you say ‘Y’ here, it will add all printers that are currently not
added to your CUPS install.
If you would prefer to add the printers manually, say ‘N’ here, and
add a printer 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.
/usr/lib/cloudprint-cups/listcloudprinters.py
这仅适用于将Google Cloud Print中的打印机添加到您的本地计算机。如果您想将现有的打印机添加到Google Cloud Print,请按照以下说明操作: