tayays.blogg.se

Setting up google cloud printer
Setting up google cloud printer












setting up google cloud printer setting up google cloud printer

Here is a page which lets you test out the various interfaces they offer:Ī dry parameter list is available here for submitting jobs: I've never heard of Google Cloud printing but it appears to just be a simple REST API, in which case you do not need a library to interact with it, just use something like CURL. Update : For some reason Google doesn't allow printing via some accounts even when using OAuth2, a quick hack to fix this was by simply creating an entirely new account and printing with that.

setting up google cloud printer

Note: I have 0% knowledge of python, and using JavaScript to submit these jobs is NOT an option because end users are not allowed to alter the document. However when I use this to submit a print job the owner of the account (me) gets a warning email that someone suspicious is trying to log into their account and it has been blocked.ĭoes anyone know if there is a (working) library to do this with, or if there is a command line alternative (preferred) that I could use system() or exec() with?

#SETTING UP GOOGLE CLOUD PRINTER HOW TO#

The best I could come up with was using this libary: yasirsiddiqui/php-google-cloud-print, mostly because it was the only one I could actually figure out how to use it. (by his request) I got a cloud printer up and running which works perfectly fine if I try to use it with something like chrome.Īll libaries for PHP are extremely outdated (up to 4 years old) and most of them are completely broken or provide little to no documentation on how to use them, and trying to use google's own documentation is even more of a nightmare I'm trying to make an app that automatically prints a PDF after it has been generated for the client.














Setting up google cloud printer