WPPizza – Google Cloudprint

Description

send any WPPIZZA orders directly to your google cloud connected/enabled printer while also being stored on your google drive

if no printer is connected, (pdf) files of your orders will just be stored in your google drive without being printed

Requirements

  • WPPIZZA 2.11.9+,  cURL 7.16.2+
  • As of version 4.0+ WPPizza v3.x compatible
  • you must (obviously) have a google account

Installations

  • install by uploading the zip file in the normal wordpress manner from withing the plugin screen (add new->upload) and activate

Setup Instrctions

A)  Add Printer to “Google Cloud Print”

  1. to add printers to Google Cloud Print follow the instructions here: https://support.google.com/cloudprint/answer/1686197
  2. for a list of cloud ready printers (according to google) please see here http://www.google.com/cloudprint/learn/printers.html

Please note I am not able to advise you on your specific printer as to how to set it up, or if it is even capable of receiving google cloudprint documents.

B) Creating Google OAuth Credentials 

  1.  Create a new project to get the corresponding OAuth credentials using Google developer console by going to https://console.developers.google.com/
    (you may have to log in to your google account if not already logged in)
  2. click on “Create a project”gpc-setup-1
  3. give the project a name and click on “Create”. gpc-setup-2
  4. wait a few moments until it has been created
  5. click on “Enable and manage APIs” gpc-setup-3
  6. go to “Credentials” -> “OAuth consent screen”, enter a product name and click save. gpc-setup-4
  7. go to “Credentials” -> “Credentials” -> “Create Credentials” and select “OAuth client ID”.gpc-setup-5
  8. In the following screen choose “Web application”, give it a name and enter the “Authorized redirect URIs” as given to you in your “wppizza->cloudprint” screen. Click “Create”.gpc-setup-6
  9. In the resulting screen, copy the “Client ID” and “Client Secret” into the relevant field in your wppizza->cloudprint settings and save.gpc-setup-7
  10. Click on “Click here to get token” in wppizza-> google cloudprint (will open in a new window). You will get a screen similar to this.gpc-setup-8
  11. Click “Allow”. If you do not get this screen, but error messages , double check your Redirect URIs settings under “APIs & Auth -> Credentials” (see 8 above). These must be EXACTLY the same as the url displayed in the wppizza->cloudprint settings (watch out for http:// vs. https:// for example
  12. Click on “Click here to get Token” in wppizza->google cloudprint (if you need to login into google again, do so ) and copy and paste this access token into the relevant token field and save.gpc-setup-9

that should be it it

 

Other

in case this is of interest to anyone using interfax to send orders as faxes:

there also *appears* to be an implementation by interfax to send google docs as fax documents instead/as well.

although I have no experience with this particular interface, this link  might be useful to someone and I would be glad to hear if this works (or not as the case may be)

Screenshots – (click images for larger versions)

Google Drive
google-cloudprint-gdrive
Order Print
google-cloudprint-gdrive-order