简体   繁体   English

使用 IPP 打印机进行 iOS 打印

[英]iOS printing with IPP Printer

Currently, I can search my printer with Bonjour/SNMP protocol by目前,我可以通过Bonjour/SNMP协议搜索我的打印机

NSNetServiceBrowser
NSNetService

Now I want to print my document by IPP protocol.现在我想通过 IPP 协议打印我的文档。

Could you please tell me way to print with IPP in iOS?你能告诉我在iOS中使用IPP打印的方法吗?

Usually iOS Apps don't care about the printer protocol.通常 iOS 应用程序不关心打印机协议。 It's sufficient to use Apples AirPrint focused Print-API .使用Apples AirPrint 重点 Print-API 就足够了。 I can't see how UIPrinter would expose details like IPP connections through the API.我看不到 UIPrinter 如何通过 API 公开 IPP 连接等细节。

If you don't want to use Apples API for printing, you should implement IPP .如果您不想使用 Apples API 进行打印,则应该实现 IPP A good start could be to look at my simple print-job implementation written in java .一个好的开始可能是查看我用 java 编写的简单打印作业实现 I'd be happy to assist in porting this to Swift of Objectiv C.我很乐意协助将其移植到 Objectiv C 的 Swift。

Actually iOS applications doesn't bothered about printing protocols.We can print images and other documents using apples AirPrint.实际上iOS应用程序并不关心打印协议。我们可以使用Apple AirPrint打印图像和其他文档。 The steps for printing from iOS device described below.从 iOS 设备打印的步骤如下所述。

1.Connect our device and printer in the same network. 1.将我们的设备和打印机连接在同一网络中。

2.select an image/document for printing. 2.选择要打印的图像/文档。

3.select the printer from network. 3.从网络中选择打印机。

4.Give print 4.给打印

We can give print from gallery,chrome etc and other printing applications.In android we need print plugins for printing(eg:Mopria, a universal print plugin).我们可以从图库、chrome 等和其他打印应用程序进行打印。在 android 中我们需要打印插件(例如:Mopria,一个通用的打印插件)。 But in iOS we don't need the support of any plugins, i think.但我认为在 iOS 中我们不需要任何插件的支持。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM