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.Fourdee wrote:I really need to invest in a printer lol. Ink costs, dry up if not used, put me off.
Cloud Print Server
Re: Cloud Print Server
Re: Cloud Print Server
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.Fourdee wrote:Full credit to Dave Steele making this installation possible with his maintained repo.
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.
Re: Cloud Print Server
Interesting and great find, this makes it available for ARM64.Sciamano wrote: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.
Version for ARM64:
Code: Select all
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
https://github.com/Fourdee/DietPi/issue ... -292100078
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: Cloud Print Server
Tell me what to do and I will do it (although I don't think I can help with ARM64)Fourdee wrote:Just needs testing install from Jessie repo.
https://github.com/Fourdee/DietPi/issue ... -292100078
Re: Cloud Print Server
Excellent, thanks.Sciamano wrote: Tell me what to do and I will do it (although I don't think I can help with ARM64)
If this works for ARMv6/7, we can assume ARM64 will be the fine as the binary/service for cloudprint appear to be functional (C2 tested).
I've updated dietpi-software and removed the Dave Steele repo. Same again if you can please, would really appreciate it:
https://github.com/Fourdee/DietPi/issue ... -291524172
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: Cloud Print Server
It looks like something is missing:
Code: Select all
root@DietPi:~# cps-auth
-bash: cps-auth: command not found
Re: Cloud Print Server
Thanks, confirmed on C2.Sciamano wrote:It looks like something is missing:
Code: Select all
root@DietPi:~# cps-auth -bash: cps-auth: command not found
Looks like this is a bash script that runs a different command:
https://github.com/davesteele/cloudprin ... s-auth#L14
So the raw command is:
Code: Select all
rm /var/lib/cloudprintd/authfile.json
cloudprint -c -a /var/lib/cloudprintd/authfile.json
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: Cloud Print Server
Still nothing:
Code: Select all
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
Re: Cloud Print Server
Thanks,
Looks like outdated auth system on this version in Jessie repo.
We'll use Dave Steele's Repo for Jessie, Debian for Stretch:
https://github.com/Fourdee/DietPi/issue ... -292712002
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: Cloud Print Server
Perfect. If you need any more testing, just let me know.Fourdee wrote:Looks like outdated auth system on this version in Jessie repo.
We'll use Dave Steele's Repo for Jessie, Debian for Stretch:
https://github.com/Fourdee/DietPi/issue ... -292712002
