We have an SPA app we would like to integrate to Google Cloud Print.
Scenario: End user has 2 printers available at their office. 2 buttons on the app will show PrinterA, PrinterB, pressing each button will print a document to its corresponding printer.
Print content is served over a URL address.
Requirements:
Create a simple html page that shows 2 buttons. Pressing each button will send content of a URL to Google Cloud Print, sending the correct authorization token and selecting the correct printer.
The solution needs to be done using AJAX calls and without using any server side proxy or desktop applications.
Prefer to use Google Chrome's logged in user's details. If not possible, then asking user to login to their Google account is acceptable.
Your are not required to integrate your solution to our app.
All users use Chrome
About the recuiterMember since May 20, 2018 Adam Maulana
from Lombardia, Italy