Linux Lite Forums

Software - Support => Tutorials => Topic started by: firenice03 on February 08, 2016, 08:20:14 PM

Title: Cloud Print - Remote print
Post by: firenice03 on February 08, 2016, 08:20:14 PM
Well after wiping out, beta testing and tweaking for 2.8 I had to set up cloud print again on the Mini (netbook) and thought I'd share my notes.. Should anyone be interested or have interest.. Yes this is a Google feature and does require a gmail account..

The main focus is adding the cloud printers into Linux Lite on a remote system where the printer is not attached. Making the cloud printers (printers attached elsewhere) available within the LL printers windows; which is accomplished via CUPS.

A quick note; I found this info out in the great beyond of Google searches.. You do have to add a PPA - understand what this means prior to installing...

1st off  Cloud Print needs to be set up.. Having a system (Windows/Linux etc) with a printer attached/installed, then within Chrome/Chromium that printer added to the Cloud Printer section.. (I can expand on more but went with the assumption most can accomplish)
*Cloud Print can also make these printers available to Android tablets/phones as well... (Probably iOS stuff too but I don't use  :o)
*Not only do you have access to your printer, but a PDF printer along with a "printer" to add to Google Drive...


Now adding the printer to Linux Lite (other flavors too)..
The below commands need to be ran one at time to add CUPS Cloud Print.

Code: [Select]
sudo add-apt-repository ppa:simon-cadman/niftyrepo

sudo apt-get update

sudo apt-get install cupscloudprint

After installing CUPS Cloud Print, the command below will create a CUPS printer for each Google Cloud Print printer on your account.
If this is the first time you are installing CUPS Cloud Print, you will be prompted to allow CUPS Cloud Print to print using your account.

Code: [Select]
sudo /usr/share/cloudprint-cups/setupcloudprint.py
Basically this command is prompting for your gmail address..
Then it will prompt you to go to a URL - If your already logged into Chrome/Chromium copy and paste (if your not you will be prompted to log in), it will respond with a "Key"..
Enter this key into the ternimal prompt, Thus allowing CUPS to print to the account..

After which you are prompted if you wish to add all cloud printers (I typically say yes but can be customized)
Lastly a prompt; asking if you want to add a prefix to the printer names.
*May want to add if you already have other local printers attached - i.e. "CP-" to differentiate cloud printers

All done - Printers folder will be updated.
You'll be able to print from any app as you would if it was local; LibreOffice, Leafpad, Firefox etc.

This makes it easy to share printers across locations - maybe not so much in one room.
But does allow easy integration with multi-devices (Android, PC - Linux/Windows etc)
Additionally I can print to my in-laws printer - great for that "how do I" moment or should I need something right from my device.


Title: Re: Cloud Print - Remote print
Post by: Jerry on February 08, 2016, 08:38:22 PM
Great share :)
Title: Re: Cloud Print - Remote print
Post by: firenice03 on May 26, 2016, 09:14:24 AM
PPA was updated...  So the new code as follows..

Code: [Select]
sudo add-apt-repository ppa:simon-cadman/niftyrepo
sudo apt-get update
sudo apt-get install cupscloudprint
sudo /usr/share/cloudprint-cups/setupcloudprint.py

**Updated the above/1st post with updated repo...
Title: Re: Cloud Print - Remote print
Post by: Wirezfree on May 26, 2016, 12:16:11 PM
Great Stuff... Will try to mentally bookmark, but I think Bit Rot (https://en.wikipedia.org/wiki/Software_rot) is setting in :(
I managed to get my PC's to print wirelessly to My HP printer connected via WiFi :)