最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

iphone, ipad, android javascript print() - Stack Overflow

programmeradmin1浏览0评论

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

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.

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

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.

Share asked Feb 22, 2012 at 15:00 michaeltintiucmichaeltintiuc 67115 silver badges31 bronze badges
Add a ment  | 

2 Answers 2

Reset to default 8

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

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.

The Javascript function print() will work fine on the iPhone and iPad.

发布评论

评论列表(0)

  1. 暂无评论