的iPhone,iPad,Android版的JavaScript的print() [英] iphone, ipad, android javascript print()

查看:148
本文介绍了的iPhone,iPad,Android版的JavaScript的print()的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图让我的网站用iPhone / iPad / Android的友好。

I'm trying to make my website iphone/ipad/android friendly.

现在,有没有什么办法让JavaScript的.PRINT()函数工作在任何这些设备?
找不到关于这个问题的答案。

Now, is there any way to make the javascript .print() function work on any of these devices? Couldn't find an answer on this subject.

期待您的回复,
谢谢你在前进。

Looking forward to your replies, Thank You in advance.

推荐答案

功能 window.print()将工作,如果你使用的是iOS 4.2或更高版本,因为<一HREF =htt​​p://support.apple.com/kb/ht4356>该版本增加了AirPrint支持功能。

The function window.print() will work if you are using iOS 4.2 or later because that version adds AirPrint support.

Android手机似乎并没有对印刷没有原生支持,但是你可以在阅读有关云打印有兴趣。但是,这种解决方案需要一个支持云的打印机。

Android phones don't seem to have native support for printing yet however you might be interested in reading about Cloud Print. However that solution requires a "cloud enabled" printer.

这篇关于的iPhone,iPad,Android版的JavaScript的print()的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆