Re: google cloudprint *client* for fedora?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 06 November 2014 14:26:38 Gary Stainburn wrote:
> On Thursday 06 November 2014 13:20:00 Neal Becker wrote:
> > I just got a google cloud enabled printer.  Is there a _client_ for
> > fedora to work via cups?  Thanks.
> >
> > --
> > -- Those who don't understand recursion are doomed to repeat it
>
> I've done this on  a couple of workstations, both printing to a remote
> Google Cloud printer and active as a server to allow a traditional printer
> over Google Cloud Print.
>
> I can't remember how to do it, but Googling "Google Cloud Print Linux" is
> all I did to get started.
>
> You will need to install Google Chrome too as this is what's used for both
> the client and server options.
>
> Gary

Just had a quick look at one of by boxes and found the following which I used 
to set up a traditional printer as a cloud printer.

The bit you want is the other way round, to be able to print to an already 
configured GoogleCloud printer. For this you need to install the following 
RPM

[root@lou ~]# rpm -qa|grep -i cloud
cupscloudprint-20140814-1.noarch

Not sure which repository that wa from but may have been from the Google one 
shown below.


[root@lou ~]# cat /etc/yum.repos.d/google-chrome.repo 
[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
enabled=1
gpgcheck=1
[root@lou ~]# rpm -qa|grep -i google
google-chrome-beta-39.0.2171.19-1.x86_64
[root@lou ~]# ll Downloads/
total 57512
-rw-r--r-- 1 root root     1722 Jul  2 17:05 generate_cloudprint_config.py.zip
-rw-r--r-- 1 root root 58888025 Jul  2 17:01 
google-chrome-stable_current_x86_64.rpm
[root@lou ~]# 

(There was a problem with the stable version which is why I then removed it 
and installed the beta version. Can't remember what the problem was though.

Then under the user I am using for the service (gary) I did

wget 
http://www.google.com/support/enterprise/static/chromeos/docs/admin/en/generate_cloudprint_config.py.zip
unzip generate_cloudprint_config.py.zip 
chmod 770 generate_cloudprint_config.py
./generate_cloudprint_config.py 


Once the printers were set up an working I created the service unit file and 
started it.

[root@lou ~]# 
cat /etc/systemd/system/multi-user.target.wants/googleCloudPrint.service
[Unit]
Description=Google Chrome running headless as Cloud Print Server
After=network.target

[Service]
Type=simple
User=gary
Group=gary
WorkingDirectory=/home/gary/.GoogleCloudPrint
ExecStart=/usr/bin/google-chrome  --type=service --enable-cloud-print-proxy --no-service-autorun --log-level 
2 --enable-logging=stderr --user-data-dir=/home/gary/.GoogleCloudPrint
Restart=always
StandardInput=null
StandardOutput=syslog
StandardError=inherit
SyslogIdentifier=CloudPrint
SyslogFacility=lpr
SyslogLevel=err
PrivateTmp=true

[Install]
WantedBy=multi-user.target
[root@lou ~]# 


-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux