问题标签 [google-cloud-print]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
android - android google cloud print 的文档丢失
我在android中有一个简单的应用程序。其中有两个活动。一个是 Document.Activity,布局 xml 是 butt.xml。另一个是带有 print_dialog.xml 的 PrintDialogActivity。我共享我的打印机,一切正常。但是当我选择我的共享打印机并单击谷歌云打印中的打印按钮时,会出现一个带有“缺少文档”的黑色标题栏。现在我能做什么?请帮我..
这是我的文档活动:
}
这是我的 butt.xml:
这是我的 PrintDialogActivity:
这是我的 print_dialog.xml:
cordova - 谷歌云打印不适用于phonegap
我正在开发一个简单的 phonegap 应用程序,该应用程序打印一个简单的 pdf 页面来测试 Google 云打印,我按照此处提到的步骤操作。
它在浏览器中运行良好,但是当我在手机上尝试时,没有打印任何内容,我什至无法将其保存到我的 Google 驱动器中。
这是我的代码:
google-cloud-print - 与 Google API 服务帐户共享打印机
是否可以与 Google API 服务帐户(https://developers.google.com/accounts/docs/OAuth2ServiceAccount)共享 GCP 打印机?
我尝试与客户电子邮件地址 ( id@developer.gserviceaccount.com ) 共享打印机,但打印机未显示在对 API 调用的响应中/search
。调用/submit
导致错误(用户无权访问)
java - 调用谷歌云打印从安卓应用打印本地文件
我有一个文本文件,我想用 google print 打印它。有谁知道该怎么做?
python - Python云打印授权
我正在尝试使用 Google 的应用程序 api 授权我的 python 程序查询 google-cloud-print 队列。我正在使用来自https://developers.google.com/cloud-print/docs/pythonCode的所有信息。在包括我的登录名、密码和客户端 ID 后,我从谷歌的云应用程序中创建。我仍然收到 404 错误。Gaia 方法在令牌字典中不返回任何内容。有没有人有这方面的经验?还是使用他们新的 OAuth2 系统?我似乎在谷歌上找不到任何关于这个问题的信息。
这是我的登录详细信息已编辑的程序。
所有这些代码都直接来自 google-cloud-print 开发者网站。
这是输出的最后一位。
提前致谢!
printing - 云打印和热敏打印机
我正在使用 Google 云打印在 Web 应用程序中打印生成的 PDF 文档。
在我使用的所有打印机类型(HP、Zebra 等)中一切正常,但大约 2 周前,所有 Zebra 打印机(热敏打印机)都以纵向模式打印 PDF 文档(忽略打印机设置)。
我需要什么?:Google Clout 打印会保留我的打印机设置。
我的测试:我更改了打印机设置(文档方向:纵向/横向)。在发送到 Google 云打印之前,我旋转了 PDF 文档。我发送了票据打印机/功能,但 Google 云打印忽略了它。
我确定这是 Google 更新。
是否有其他人正在使用带有热敏打印机的 Google 云打印?
有什么解决办法吗?
更新1:
谷歌更新了一些文档https://developers.google.com/cloud-print/?hl=es-419&csw=1
这并不能解决我的问题,但我在 java 中发布了一个库,希望对其他人有用,也许会鼓励有人参与。
此库与 Google Cloud Print API 的版本 1 和 2 兼容
Github 存储库https://github.com/fsistemas/GoogleCloudPrintApiClientJava
php - Print from php over internet to remote printer
I have a webshop (on a webserver) where customers can order things, somewhere else (at the customers company) I have a printer which needs to instantly print an packing slip whenever the website receives an order.
- I have read things about VPN but that's too difficult to set up;
- Some people say it's best to let the website send an e-mail and use software to fetch the pop box and print all incoming e-mail
- I could use an IP (xml) printer
- Now testing with Google Cloud Print Beta
- HP has the Eprinting - sending documents to a specific e-mailaddress function
- Via HTML / Javascript -> Chrome in kiosk printing mode and a javascript print function (or something with jquery) which every 3 minutes polls database…</li>
I’m totally free in what to use and how to connect the printer (preferably directly on router or on Windows PC).
Numerous of options but I’m not sure which one is most reliable (given the fact that the order needs to be printed instantly)… Also, the printer / API / software needs to be able to give alert feedback when the printer is offline so a SMS or something can be sent.
I know all about PHP, so using any form of API isn't a problem.
java - 没有 webview 的谷歌云打印集成
我使用本教程将我的 android 应用程序与 Google Cloud Printer 集成。它工作正常,但我想在没有WebView的情况下这样做。
我想用两个步骤打印:
- 生成pdf文件
- 单击“打印”按钮并提交打印作业
我将我的打印机共享给任何有链接的人,并希望将我的应用程序中的所有 pdf 文件打印到我的共享打印机。
你能分享一些代码或教程吗?
对不起我的英语不好
javascript - 谷歌云打印 API 密钥
我想从 javascript 客户端调用 /search api。为此,我读到我需要一个 oauth2 访问令牌。
按照谷歌指南,我必须去谷歌云控制台,但没有谷歌云打印服务可以订阅。
我应该使用什么服务来获取 API 密钥?
oauth-2.0 - 谷歌云打印获取访问令牌
我想从我的 webServer 调用 Google 云打印的 /search 方法。
我正在使用 OAuth Web 服务器指南获取用于范围的 refresh_token/access_token:
然后我打电话给搜索 Api,但我得到了 403 禁止。
范围是否正确?我究竟做错了什么?