Page 1 of 1

Google Cloud Print

Posted: 10 Mar 2016, 20:59
by URGeSM
Does anyone know if it is possible to use Google Cloud Print with Porteus Kiosk and Chrome browser? I have tried a few settings but I haven't had any luck.

Re: Google Cloud Print

Posted: 10 Mar 2016, 21:15
by fanthom
Cloud printing is disabled by default. You can enable it through 'browser_preferences=' parameter:
http://porteus-kiosk.org/parameters.htm ... references

Here is the parameter you should add to your preferences file:

Code: Select all

"CloudPrintSubmitEnabled": true,
Please let us know if that helped ( have no experience with cloud printing).

Thank you.

Re: Google Cloud Print

Posted: 10 Mar 2016, 21:38
by URGeSM
Thanks, that did the trick, I now get the Cloud Print locations in the print dialogue. Looks like it isn't enabled by default after all?

Re: Google Cloud Print

Posted: 11 Mar 2016, 19:36
by fanthom
"Looks like it isn't enabled by default after all?"
Yes - this is what i wrote in my previous post.

Re: Google Cloud Print

Posted: 11 Mar 2016, 19:43
by URGeSM
Sorry about that, it's been a crazy week, for some reason I read enabled. :%)

Thanks again, the computer lab where we have Porteus installed has been trouble free since we got rid of Windows!

Re: Google Cloud Print

Posted: 12 May 2017, 03:22
by ch4lk
URGeSM wrote:Thanks, that did the trick, I now get the Cloud Print locations in the print dialogue. Looks like it isn't enabled by default after all?
It's the last hurdle, cloud printing, for a fully functioning kiosk, across a school.

URGeSM, would you please explain to me how you got cloud printing to work. pm me if you could. I'm obviously ignorant, even after reading up browser prefs, where the online file should live, what it's name is, and, can this file live in the same location as the kiosk config file? I would really appreciate your help on this.

Re: Google Cloud Print

Posted: 12 May 2017, 07:16
by fanthom
This is quite simple:
a) you need to create a text file (could be placed next to your kiosk config) with this line in it:

Code: Select all

"CloudPrintSubmitEnabled": true,
b) add this parameter to your kiosk config:
browser_preferences=http://domain.com/files/your-policies.txt

If you want to override only one policy than may be easier to use this parameter instead:
run_command=sed -i 's/"CloudPrintSubmitEnabled": false,/"CloudPrintSubmitEnabled": true,/g' $json

Thanks

Re: Google Cloud Print

Posted: 15 May 2017, 00:30
by ch4lk
fanthom wrote:This is quite simple:
a) you need to create a text file (could be placed next to your kiosk config) with this line in it:

Code: Select all

"CloudPrintSubmitEnabled": true,
b) add this parameter to your kiosk config:
browser_preferences=http://domain.com/files/your-policies.txt

If you want to override only one policy than may be easier to use this parameter instead:
run_command=sed -i 's/"CloudPrintSubmitEnabled": false,/"CloudPrintSubmitEnabled": true,/g' $json

Thanks
Thank you fanthom, yet another step in the right direction. However, I still do not see the cloud printing dialog as URGeSM reported. I shall PM the OP.

Re: Google Cloud Print

Posted: 15 May 2017, 09:07
by fanthom
Hello ch4lk,

Please do as follows:
a) configure standard printing support in the wizard (this step wont be needed in next release for Cloud and ThinClient variants)
b) add this parameter to your kiosk config to enable CloudPrint:
run_command=sed -i 's/"CloudPrintSubmitEnabled": false,/"CloudPrintSubmitEnabled": true,/g' $json
c) after installation login to your Google account
d) press Ctrl+P to get print dialog, click on 'Change' button in Destinations and select your cloud printer

Thanks

Re: Google Cloud Print

Posted: 16 May 2017, 05:32
by ch4lk
fanthom wrote:Hello ch4lk,

Please do as follows:
a) configure standard printing support in the wizard (this step wont be needed in next release for Cloud and ThinClient variants)
b) add this parameter to your kiosk config to enable CloudPrint:
run_command=sed -i 's/"CloudPrintSubmitEnabled": false,/"CloudPrintSubmitEnabled": true,/g' $json
c) after installation login to your Google account
d) press Ctrl+P to get print dialog, click on 'Change' button in Destinations and select your cloud printer

Thanks
Thank you very much for your continued help and feedback, it is really appreciated.
For now, I had indeed configured as for standard printing; I added a network printer and, ofcourse, that works immediately.
I shall now add those parameters to the config file thank you. I am using the generic pcl 5e driver.