Skip to content

escube/GoogleCloudSpooler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project implement a simple library and a standalone program that allows to print using the service Google Cloud Print. More informations are found on google

Please note some of the code in the library is taken from other source on the Internet.

here

To use this library you need the following :

  1. User account from google
  2. Group from google. You can create one from here
  3. [OAUTH from google.](more information on this https://developers.google.com/accounts/docs/OAuth2)
  4. Google Chrome

How to proceede :

  1. Create a google account
  2. Create a group on google
  3. Create in Google Developers under credentials a new user credential
  4. Add the new created service in point 3 to the groupcreated in point 2
  5. Connect with credential of you google account of point 1 with google Chrome and following this guide add the printers you want to use remotely

Everything should be in place to start.

With these informations you can fill in the file conf.json and use it as you need.

{
  "private_key_id": "[Your-Private-key-id]",
  "private_key": "-----BEGIN PRIVATE KEY-----[Your-private-key]-----END PRIVATE KEY-----\n",
  "client_email": "[your-service-email]@developer.gserviceaccount.com",
  "client_id": "[your-service-id].apps.googleusercontent.com",
  "type": "service_account",
  "printer":null
}

The "printer" in this file is optional, and indicate the name of the printer to use. If no printer is provided you will have the possibility to choose from the ones available on your Google Cloud Printer Manager.

Play and use this library as you wish. If you have suggestions or want to contribute send me an email.

About

Simple library to use google cloud printer service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages