How to install printer online with google

Hello everyone,i have a problem installing my printer at dolibarr,i tried to set up for being visible at google printer,my printer supports it also but nothing happens,when i go to
dolibarr and search for printers nothing is shown up,i get a message "file_get_contents(https://accounts.google.com/o/oauth2/token): failed to open stream: no suitable wrapper could be found’’,and that no printer has been set up.

To locate the piece of code and reproduce the error:

Check

htdocs/admin/syslog.php

Then

tail -<number of lines> documents/dolibarr.log

i check the dolibarr.log but it doesnt show me anywhere file_get_contents(https://www.google.com/cloudprint/search) and has a message ‘failed to open stream: no suitable wrapper could be found’.
Settings are set at level log_debug(7)

Ok. So it’s a PHP error. On Linux you have to consult the PHP error logs in /var/log in a similar way.

  1. Sign in to your Google Admin console. …
  2. From the Admin console Home page, go to Devices. …
  3. Click Printers. …
  4. Select the organizational unit or group to which you want to add the printer.
  5. At the bottom right, point to Add click Add a printer.
    For more Guidelines Check Printer Guidelines

Select Settings . At the bottom, select Advanced. Under “Printing,” select Printers. Next to “Add printer,” select Add printer

Regards,
Will