I followed the instructions (just omitted the ‘sudo’) and it worked. No additional steps necessary.
I have even tried printing from my android phone, but the fun part is that the official Google Cloud Print app doesn’t detect the printers. Other third-party applications work perfectly, though. :mrgreen:
Just buy a laser printer. Unless you have to print pictures with photographic quality, for which you need inkjet printers, laser printers are cheap to buy, and to maintain, and they don’t suffer from all the problems of inkjets if used only sporadically.
I’m not sure if this is relevant, but I have just discovered that a cloudprint-services package is already present in the official repository.
I have no idea if it is the same as Dave Steele’s repository, but still I thought you might want to check it out.
Interesting and great find, this makes it available for ARM64.
Version for ARM64:
root@DietPi:~# dpkg -l | grep cloudprint
ii cloudprint 0.11-5 all Google Cloud Print proxy
root@DietPi:~# uname -a
Linux DietPi 3.14.79+ #1 SMP PREEMPT Tue Feb 7 19:57:43 CET 2017 aarch64 GNU/Linux
root@DietPi:~# rm /var/lib/cloudprintd/authfile.json
rm: cannot remove '/var/lib/cloudprintd/authfile.json': No such file or directory
root@DietPi:~# cloudprint -c -a /var/lib/cloudprintd/authfile.json
Google username: mygoogleusername
Password:
Traceback (most recent call last):
File "/usr/bin/cloudprint", line 9, in <module>
load_entry_point('cloudprint==0.11', 'console_scripts', 'cloudprint-cmd')()
File "/usr/share/cloudprint/cloudprint/cloudprint.py", line 496, in main
sync_printers(cups_connection, cpp)
File "/usr/share/cloudprint/cloudprint/cloudprint.py", line 330, in sync_printers
remote_printers = dict([(p.name, p) for p in cpp.get_printers()])
File "/usr/share/cloudprint/cloudprint/cloudprint.py", line 177, in get_printers
r = self.get_rest()
File "/usr/share/cloudprint/cloudprint/cloudprint.py", line 173, in get_rest
auth = self.get_auth()
File "/usr/share/cloudprint/cloudprint/cloudprint.py", line 99, in get_auth
'application/x-www-form-urlencoded')
File "/usr/share/cloudprint/cloudprint/rest.py", line 122, in post
return self.rest_call('POST', path, data, content_type, headers, response_type)
File "/usr/share/cloudprint/cloudprint/rest.py", line 105, in rest_call
raise REST.RESTException('REST Error', resp.status, data)
cloudprint.rest.RESTException: REST Error:404
Message: https://developers.google.com/accounts/docs/AuthForInstalledApps