简体   繁体   English

通过 AirPrint 从 Android 打印?

[英]Printing from Android over AirPrint?

Is this possible?这可能吗? I checked out printing to an AirPrint printer from Android , but it was closed for "not being a question" (I don't really know why, it seemed like a legitimate question to me) and the only answer to it totally doesn't answer the question.我检查了从 Android 打印到 AirPrint 打印机,但它因“不是问题”而关闭(我真的不知道为什么,这对我来说似乎是一个合理的问题),唯一的答案完全没有回答问题。

What I need is a way to print to a wireless printer on the same network (possibly intranet) via my Android device, using code.我需要的是一种使用代码通过我的 Android 设备打印到同一网络(可能是 Intranet)上的无线打印机的方法。 If there's no Android official SDK for it, is there a custom library anyone knows of or a possible workaround to it?如果没有针对它的 Android 官方 SDK,是否有任何人都知道的自定义库或可能的解决方法? Possibly using AirPrint;可能使用 AirPrint; if PrintBot can do it, there's no reason why there shouldn't be a corresponding hack for it.如果 PrintBot 可以做到,那么没有理由不应该针对它进行相应的破解。

Yes, it is possible to print to an AirPrint printer from Android.是的,可以从 Android 打印到 AirPrint 打印机。

There are a number of printer apps available that claim to support AirPrint.有许多声称支持 AirPrint 的打印机应用程序可用。 As of my experience they don't work very well unfortunately.不幸的是,根据我的经验,它们不能很好地工作。

In general it's a good idea to use the Android Print API.一般来说,使用 Android Print API 是个好主意。 Job transmission and potential rendering should be done by appropriate printer drivers.作业传输和潜在渲染应由适当的打印机驱动程序完成。

In case of AirPrint the driver only needs to send a PDF straight to the printer.在 AirPrint 的情况下,驱动程序只需将 PDF 直接发送到打印机。

I've successfully implemented an AirPrint-compatible java-based printer driver for a client - closed source.我已经成功地为客户端实现了一个兼容 AirPrint 的基于 java 的打印机驱动程序 - 封闭源代码。 In case of reasonable demand I might reimplement a version for androids print api - let me know, if you are interested.如果有合理的需求,我可能会重新实现 androids print api 的版本 - 如果您有兴趣,请告诉我。

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

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