Note
After December 31, 2020, Google Cloud Print will be no longer supported.
https://www.google.com/intl/en-GB_ALL/cloudprint/learn/
https://www.google.com/intl/en-GB_ALL/cloudprint/learn/

Submit Print Jobs via Google Cloud Print Service
Prints files attached as workflow data (via Google Cloud Print).
2018 © Questetra, Inc. (MIT License)
2018 © Questetra, Inc. (MIT License)
Download
Capture

Notes
- All the files attached in the File-type Data Item are printed
- File data in various formats can be printed, such as PDF, Docx
- A delay of up to 30 seconds may occur before receiving a print job
- It is necessary to add a printer in “chrome://devices/” in advance and acquire the printer ID (B)
- “Cloud compatible printer” may not be displayed in “new device” in “chrome://devices/” if it is registered with someone else’s account.
- “Conventional printers” (cloud non-compatible) will perform printing when the power to the host PC is turned on.
- It is necessary to acquire the Client ID and Client secret for OAuth2 communication in the Google Developers Console beforehand.
- Example Setting (Google Developers Console)
- Application Type: Web Application
- Name: questetra-print
- Redirect URL: https://s.questetra.net/oauth2callback
- Example Setting (Google Developers Console)
- OAuth2 communication must have been registered and authorized (allowed) on the details screen of the Workflow App
- Example Setting (Questetra OAuth2.0 Setting of Workflow App)
- Name: google-cloud-print
- Authorization Endpoint URL: https://accounts.google.com/o/oauth2/auth?access_type=offline&approval_prompt=force
- Token Endpoint URL: https://accounts.google.com/o/oauth2/token
- Scope: https://www.googleapis.com/auth/cloudprint
- Consumer Key: (Copy from Google Developers Console)
- Consumer Secret: (Copy from Google Developers Console)
- Example Setting (Questetra OAuth2.0 Setting of Workflow App)
- Print options are set in Cloud Job Ticket (CJT).
- If not specified, it will be printed with the default setting of the printer(CJT= {“version”: “1.0”, “print”: {}} )
- Duplex printing = {“version”:”1.0″,”print”:{“vendor_ticket_item”:[],”duplex”:{“type”:”LONG_EDGE”}}}
- 2 copies printing = {“version”:”1.0″,”print”:{“vendor_ticket_item”:[],”color”:{“type”:”STANDARD_MONOCHROME”},”copies”:{“copies”: 2}}}
- It is also possible to set values to the Config item “Printer ID” or “CJT printing option ” referring to Workflow data by setting Expression Language (e.g. “#{data [‘1’]}”)