【问题标题】:Is there a way to send a print task to an IPP-enabled network printer using http?有没有办法使用 http 将打印任务发送到启用 IPP 的网络打印机?
【发布时间】:2016-07-26 12:19:25
【问题描述】:

我正在开发一个 Android 打印服务应用程序,它应该允许用户执行以下操作:浏览手机的内部存储并将所选文件发送到支持 IPP 的打印机进行打印。

过去几天我一直在网上梳理,但我只找到了一个解决方案 [How to use ipp(Internet Printing Protocol) with HTTP to print file in android? 对我来说有点意义。但是,我不知道如何从这里开始,除了知道必须向打印机的 url 发出 http put 请求。有什么帮助吗?谢谢

注意:Google 云打印不适合我。

【问题讨论】:

  • 如果您是学生:学习 RFC 并开始编码 :-) - 如果“您是一家公司”并寻找解决方案:请联系我或在您的个人资料中添加联系信息。跨度>

标签: android http printing ipp-protocol


【解决方案1】:

【讨论】:

  • 嗨。事实上,我做到了。但是,我发出的每个 http/ipp 请求都会返回以下错误之一:1)错误请求 2)管道损坏。
  • ipp 通信不正常。 ipp-server 不符合规范,或者您的 ipp-client 做错了什么(更有可能)。 “错误请求”意味着 ipp-server 无法解释您编码的 ipp-request。您还可以使用第三方库,例如来自 ipp-software.com。
猜你喜欢
  • 2016-01-07
  • 2021-12-24
  • 2011-04-12
  • 2013-01-22
  • 1970-01-01
  • 2016-08-16
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多