{"id":48,"date":"2017-10-25T06:44:29","date_gmt":"2017-10-25T06:44:29","guid":{"rendered":"http:\/\/wp.xperts.club\/googlecloudprint\/?p=48"},"modified":"2017-10-25T07:45:10","modified_gmt":"2017-10-25T07:45:10","slug":"configuring-google-cloud-print-api-access","status":"publish","type":"post","link":"https:\/\/wp.xperts.club\/googlecloudprint\/configuring-google-cloud-print-api-access\/","title":{"rendered":"Configuring Google Cloud Print API access"},"content":{"rendered":"<h3>Visit the Google API console, and create a new project<\/h3>\n<p>To allow access to your Google Cloud Print printers,\u00a0<a href=\"https:\/\/console.developers.google.com\/\">click on the link to your API console<\/a>\u00a0to take you to Google; then click on the option to create a new project in the \u201cProject\u201d menu:<\/p>\n<p><em>Choose \u201cSelect project\u201d from the drop-down \u201cProject\u201d menu\u2026<\/em><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-49 size-full\" src=\"http:\/\/wp.xperts.club\/googlecloudprint\/wp-content\/uploads\/2017\/10\/Screenshot_1.png\" alt=\"\" width=\"551\" height=\"148\" srcset=\"https:\/\/wp.xperts.club\/googlecloudprint\/wp-content\/uploads\/2017\/10\/Screenshot_1.png 551w, https:\/\/wp.xperts.club\/googlecloudprint\/wp-content\/uploads\/2017\/10\/Screenshot_1-300x81.png 300w\" sizes=\"(max-width: 551px) 100vw, 551px\" \/><\/p>\n<p><em>Click on \u201cCreate project\u201d \u2026<\/em><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-50\" src=\"http:\/\/wp.xperts.club\/googlecloudprint\/wp-content\/uploads\/2017\/10\/Screenshot_2.png\" alt=\"\" width=\"739\" height=\"211\" srcset=\"https:\/\/wp.xperts.club\/googlecloudprint\/wp-content\/uploads\/2017\/10\/Screenshot_2.png 739w, https:\/\/wp.xperts.club\/googlecloudprint\/wp-content\/uploads\/2017\/10\/Screenshot_2-300x86.png 300w\" sizes=\"(max-width: 739px) 100vw, 739px\" \/><\/p>\n<p><em>Enter \u201cProject Name\u201d in the Project Name Field\u2026<\/em><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-51\" src=\"http:\/\/wp.xperts.club\/googlecloudprint\/wp-content\/uploads\/2017\/10\/Screenshot_3.png\" alt=\"\" width=\"547\" height=\"399\" srcset=\"https:\/\/wp.xperts.club\/googlecloudprint\/wp-content\/uploads\/2017\/10\/Screenshot_3.png 547w, https:\/\/wp.xperts.club\/googlecloudprint\/wp-content\/uploads\/2017\/10\/Screenshot_3-300x219.png 300w\" sizes=\"(max-width: 547px) 100vw, 547px\" \/><\/p>\n<h3>Go to the Credentials to manage API credentials<\/h3>\n<p><em>Click on \u201cCredentials\u201d then &#8220;OAuth consent screen&#8221; then see something like the screenshot below.\u2026<\/em><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-53\" src=\"http:\/\/wp.xperts.club\/googlecloudprint\/wp-content\/uploads\/2017\/10\/Screenshot_5.png\" alt=\"\" width=\"940\" height=\"616\" srcset=\"https:\/\/wp.xperts.club\/googlecloudprint\/wp-content\/uploads\/2017\/10\/Screenshot_5.png 940w, https:\/\/wp.xperts.club\/googlecloudprint\/wp-content\/uploads\/2017\/10\/Screenshot_5-300x197.png 300w, https:\/\/wp.xperts.club\/googlecloudprint\/wp-content\/uploads\/2017\/10\/Screenshot_5-768x503.png 768w\" sizes=\"(max-width: 940px) 100vw, 940px\" \/><\/p>\n<p><em>You will then probably be told that you need to give your application a name. When you have done so, it will bring you back to this screen.<\/em><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-52\" src=\"http:\/\/wp.xperts.club\/googlecloudprint\/wp-content\/uploads\/2017\/10\/Screenshot_4.png\" alt=\"\" width=\"1105\" height=\"555\" srcset=\"https:\/\/wp.xperts.club\/googlecloudprint\/wp-content\/uploads\/2017\/10\/Screenshot_4.png 1105w, https:\/\/wp.xperts.club\/googlecloudprint\/wp-content\/uploads\/2017\/10\/Screenshot_4-300x151.png 300w, https:\/\/wp.xperts.club\/googlecloudprint\/wp-content\/uploads\/2017\/10\/Screenshot_4-768x386.png 768w, https:\/\/wp.xperts.club\/googlecloudprint\/wp-content\/uploads\/2017\/10\/Screenshot_4-1024x514.png 1024w\" sizes=\"(max-width: 1105px) 100vw, 1105px\" \/><\/p>\n<p><em>Click on &#8220;Credentials&#8221; then &#8220;Create credentials&#8221; then select &#8220;OAuth client ID&#8221;..<\/em><\/p>\n<p><em>Choose \u201cWeb Application\u201d as the application type<\/em><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-54\" src=\"http:\/\/wp.xperts.club\/googlecloudprint\/wp-content\/uploads\/2017\/10\/Screenshot_6.png\" alt=\"\" width=\"1005\" height=\"607\" srcset=\"https:\/\/wp.xperts.club\/googlecloudprint\/wp-content\/uploads\/2017\/10\/Screenshot_6.png 1005w, https:\/\/wp.xperts.club\/googlecloudprint\/wp-content\/uploads\/2017\/10\/Screenshot_6-300x181.png 300w, https:\/\/wp.xperts.club\/googlecloudprint\/wp-content\/uploads\/2017\/10\/Screenshot_6-768x464.png 768w\" sizes=\"(max-width: 1005px) 100vw, 1005px\" \/><\/p>\n<p><em>Next, enter some details:<\/em><\/p>\n<p><em>For the name, enter any label you please \u2013 it does not matter.<\/em><br \/>\n<em> When asked, paste in (as the \u201cAuthorized redirect URI\u201d) the URL that was shown to you on your Google Cloud Print settings page back in your WordPress admin console: (do paste it from there \u2013 don\u2019t copy any screenshot below).<\/em><br \/>\n<em> For the \u201cAuthorized JavaScript origins\u201d, enter the same thing but remove everything after the initial host name in the URL. i.e. something like http:\/\/www.example.com<\/em><\/p>\n<p><em>Then press the \u201cCreate\u201d button.<\/em><\/p>\n<p>You will then be shown your client ID and secret.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-55\" src=\"http:\/\/wp.xperts.club\/googlecloudprint\/wp-content\/uploads\/2017\/10\/Screenshot_7.png\" alt=\"\" width=\"520\" height=\"232\" srcset=\"https:\/\/wp.xperts.club\/googlecloudprint\/wp-content\/uploads\/2017\/10\/Screenshot_7.png 520w, https:\/\/wp.xperts.club\/googlecloudprint\/wp-content\/uploads\/2017\/10\/Screenshot_7-300x134.png 300w\" sizes=\"(max-width: 520px) 100vw, 520px\" \/><\/p>\n<h3>Go back to your WordPress dashboard, and enter the details<\/h3>\n<p>You should now have a client ID created. Paste the details back into the Google Cloud Print settings page in your WordPress admin console. (Don\u2019t copy our ones from the screenshot above \u2013 they are just an example, and will not work for you!). Save the settings.<\/p>\n<p>Then (i.e. after saving the settings), follow the link that WordPress will show you, to complete authorization.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-59\" src=\"http:\/\/wp.xperts.club\/googlecloudprint\/wp-content\/uploads\/2017\/10\/Screenshot_8.png\" alt=\"\" width=\"954\" height=\"140\" srcset=\"https:\/\/wp.xperts.club\/googlecloudprint\/wp-content\/uploads\/2017\/10\/Screenshot_8.png 954w, https:\/\/wp.xperts.club\/googlecloudprint\/wp-content\/uploads\/2017\/10\/Screenshot_8-300x44.png 300w, https:\/\/wp.xperts.club\/googlecloudprint\/wp-content\/uploads\/2017\/10\/Screenshot_8-768x113.png 768w\" sizes=\"(max-width: 954px) 100vw, 954px\" \/><\/p>\n<p>Google will then show you a screen to confirm the authorization. The screenshot may not be identical to the one below:<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-60\" src=\"http:\/\/wp.xperts.club\/googlecloudprint\/wp-content\/uploads\/2017\/10\/Screenshot_9.png\" alt=\"\" width=\"506\" height=\"580\" srcset=\"https:\/\/wp.xperts.club\/googlecloudprint\/wp-content\/uploads\/2017\/10\/Screenshot_9.png 506w, https:\/\/wp.xperts.club\/googlecloudprint\/wp-content\/uploads\/2017\/10\/Screenshot_9-262x300.png 262w\" sizes=\"(max-width: 506px) 100vw, 506px\" \/><\/p>\n<p>After doing this, you\u2019re done.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Visit the Google API console, and create a new project To allow access to your Google Cloud Print printers,\u00a0click on the link to your API console\u00a0to take you to Google; then click on the option to create a new project in the \u201cProject\u201d menu: Choose \u201cSelect project\u201d from the drop-down \u201cProject\u201d menu\u2026 Click on \u201cCreate [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"jetpack_post_was_ever_published":false,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":[]},"categories":[1],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9jwQf-M","_links":{"self":[{"href":"https:\/\/wp.xperts.club\/googlecloudprint\/wp-json\/wp\/v2\/posts\/48"}],"collection":[{"href":"https:\/\/wp.xperts.club\/googlecloudprint\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.xperts.club\/googlecloudprint\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.xperts.club\/googlecloudprint\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.xperts.club\/googlecloudprint\/wp-json\/wp\/v2\/comments?post=48"}],"version-history":[{"count":4,"href":"https:\/\/wp.xperts.club\/googlecloudprint\/wp-json\/wp\/v2\/posts\/48\/revisions"}],"predecessor-version":[{"id":57,"href":"https:\/\/wp.xperts.club\/googlecloudprint\/wp-json\/wp\/v2\/posts\/48\/revisions\/57"}],"wp:attachment":[{"href":"https:\/\/wp.xperts.club\/googlecloudprint\/wp-json\/wp\/v2\/media?parent=48"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.xperts.club\/googlecloudprint\/wp-json\/wp\/v2\/categories?post=48"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.xperts.club\/googlecloudprint\/wp-json\/wp\/v2\/tags?post=48"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}