"I don't want to waste your time here, but could you tell me if using foo2hbpl on a chromebook is possible ? If so, could you give me some pointers ?" - Peter Van Biesen
$ cat NOTES
Build and install:
$ go get -insecure -u github.com/google/cloud-print-connector/...
$ go get -insecure -u github.com/jkcdarunday/cloud-print-connector/...
The -u flag instructs get to use the network to update the named
packages and their dependencies. By default, get uses the network to
check out missing packages but does not use it to look for updates to
The -insecure flag permits fetching from repositories and resolving
custom domains using insecure schemes such as HTTP. Use with caution.
If you get "could not determine kind of name for C.cupsGetPPD3" :
Add the line:
install -o root -m 0664 cloud-print-connector.service /etc/systemd/system
systemctl enable cloud-print-connector.service
systemctl start cloud-print-connector.service
systemctl status cloud-print-connector.service
systemctl restart cloud-print-connector.service
$ cat /etc/rc.d/rc.local
# CUPS connector for Cloud Print
/home/rick/go/bin/gcp-cups-connector --config-filename /home/rick/go/gcp-cups-connector.config.json &
If something goes wrong:
$ gcp-connector-util init
"Local printing" means that clients print directly to the connector via
local subnet, and that an Internet connection is neither necessary nor used.
Enable local printing?
"Cloud printing" means that clients can print from anywhere on the Internet,
and that printers must be explicitly shared with users.
Enable cloud printing?
Visit https://www.google.com/device, and enter this code. I'll wait for you.
Acquired OAuth credentials for robot account
Enter the email address of a user or group with whom all printers will
automatically be shared or leave blank to disable automatic sharing:
The config file /home/rick/go/gcp-cups-connector.config.json is ready
Keep it somewhere safe, as it contains an OAuth refresh token.
$ cd .
Git repo is: https://github.com/armooo/cloudprint.git
$ cat NOTES
FYI, Cloud Print service:
$ git clone https://github.com/armooo/cloudprint.git
Cloning into cloudprint...
remote: Counting objects: 109, done.
remote: Compressing objects: 100% (107/107), done.
remote: Total 109 (delta 47), reused 0 (delta 0)
Receiving objects: 100% (109/109), 31.77 KiB, done.
Resolving deltas: 100% (47/47), done.
$ cd cloudprint
$ root python setup.py install
$ root pip-python install daemon
Running setup.py egg_info for package daemon
Installing collected packages: daemon
Running setup.py install for daemon
Successfully installed daemon
$ cloudprint -d
Updated Printer test-1020
Updated Printer test-c310dn
Updated Printer mc2530
Updated Printer mc1600Wc
Updated Printer aaaa
Updated Printer mc2300c
Updated Printer test-1500
Updated Printer test-okiC110
Updated Printer test-clp315
Updated Printer cp1025nw
Updated Printer test-p1505
Updated Printer xrx6110
Updated Printer test
Updated Printer test-Oki-C3100
Updated Printer p1505n
Updated Printer test-p1102
Updated Printer test-cp1025
Updated Printer test-C3300
Updated Printer test-1680MF
Updated Printer clp315
Updated Printer test-hp2600
Updated Printer hp1020
Updated Printer p1102w
Updated Printer HP-LaserJet-Professional-P1102w
Updated Printer hp2600
Updated Printer cp1215
Updated Printer p1102-hpcups
Updated Printer Cups-PDF
Updated Printer test-clp300
Updated Printer GnomeManualDuplex
Updated Printer p1005
Updated Printer test-m1319
Updated Printer HP-LaserJet-1000
Updated Printer test-p2035
Updated Printer mc2530c
Updated Printer xrx6110c
Updated Printer test-CLP-610
Updated Printer test-KM-1635
$ firefox http://www.google.com/cloudprint/manage.html
And on your Android tablet:
If you get:
ERROR: Could not Connect to Cloud Service. Will Try again in 60 Seconds
$ rm ~/.cloudprintauth
Google username: rickrich
cloudprint -u -d -p /tmp/cloudprint.pid -x test-