1

我尝试创建一个本机扩展,以允许发送字节数组“png”并通过 AirPrint 打印。

有人试过吗?我的意思是字节数组。或者至少可以发送保存在文档中的本地图像的路径。

我刚开始时,我非常感谢任何具有良好 IOS 知识的人的帮助或指导。

4

2 回答 2

0

试试这个https://github.com/janumedia/AirPrintANE/可以从位图数据打印

于 2013-06-22T01:50:27.697 回答
0

从未尝试过任何打印,但您可以查看 http://sugartin.info/2012/02/02/ios-print-functionality-to-print-using-airprinter/ 其中有一个将 UIImage 发送到 airprinter 的示例. 要将位图数据从 as3 传递到 ios(并使用您的图形获取 uiimage),您可以在https://github.com/memeller/ContactEditor/blob/master/ContactEditorXCode/ContactEditor.m上查看我的尝试 (查找 setContactImage 函数,行655)

于 2012-05-10T14:52:20.823 回答