User Tools

Site Tools


chromebooks:cloudprint_cups_new

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
chromebooks:cloudprint_cups_new [2016/09/13 10:01]
tschulz [Setup Go]
chromebooks:cloudprint_cups_new [2016/09/13 10:18]
tschulz
Line 20: Line 20:
 <file bash> <file bash>
 go version go version
 +</​file>​
 +<​file>​
 +go1.6 linux/amd64
 +</​file>​
 +==== Install other dependencies ====
 +<​file>​
 +sudo apt-get install build-essential libcups2-dev libavahi-client-dev git bzr
 </​file>​ </​file>​
  
 +==== Build Cloud Print Connector ====
 +<​file>​
 +go get github.com/​google/​cloud-print-connector/​...
 +</​file>​
 +  * At this point **gcp-connector-util** and **gcp-cups-connector** should be in **$HOME/​go/​bin/​**
 +==== Install CPC connector to /usr/local ====
 +<file bash>
 +mkdir -p /​usr/​local/​cpc/​bin
 +mkdir /​usr/​local/​cpc/​etc
 +cd $HOME/​go/​bin/​
 +cp gcp* /​usr/​local/​cpc/​bin
 +</​file>​
 +=== Update Path ===
 +<file bash $HOME/​.profile>​
 +...
 +PATH=$PATH:/​usr/​local/​cpc/​bin
 +...
 +</​file>​
  
 +===== Link to Google Account =====
 +<​file>​
 +cd /​usr/​local/​cpc/​etc
 +gcp-connector-util i
 +</​file>​
 +  * At this point just follow the instructions and enter the google URL and device code when prompted. ​ If everything goes through you should see **gcp-cups-connector.config.json** in **/​usr/​local/​cpc/​etc**
chromebooks/cloudprint_cups_new.txt · Last modified: 2016/09/13 10:26 by tschulz