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

javascript - Does window.print() work in all versions of Safari on iPad? - Stack Overflow

programmeradmin2浏览0评论

I have a few questions regarding Print used in iPad Safari (window.print())

  1. Does the same JS method print() work in iPad Safari without needing any update?
  2. Do we need to add the printer initially?
  3. Does the iOS version matter for AirPrint?
  4. In my page, I am using window.print() and it does not even give any popup or even any error. Nothing happens at all. I’m testing on iOS 3.2.

Please help. Thank you.

I have a few questions regarding Print used in iPad Safari (window.print())

  1. Does the same JS method print() work in iPad Safari without needing any update?
  2. Do we need to add the printer initially?
  3. Does the iOS version matter for AirPrint?
  4. In my page, I am using window.print() and it does not even give any popup or even any error. Nothing happens at all. I’m testing on iOS 3.2.

Please help. Thank you.

Share Improve this question edited Apr 30, 2011 at 14:26 Paul D. Waite 99k57 gold badges203 silver badges271 bronze badges asked Apr 29, 2011 at 18:03 copenndthagencopenndthagen 50.9k105 gold badges313 silver badges492 bronze badges 4
  • 2 Given 4., it looks like the answer to 1. is “no”. – Paul D. Waite Commented Apr 29, 2011 at 19:13
  • Well...that is what I had thought...but another person was able to atleast see the Print popup..Not sure which OS version he had though.. – copenndthagen Commented Apr 30, 2011 at 6:04
  • Which OS version do you have? – Paul D. Waite Commented Apr 30, 2011 at 13:10
  • 1 I've tested it on an old version 3.2 – copenndthagen Commented Apr 30, 2011 at 13:21
Add a ment  | 

1 Answer 1

Reset to default 5

Not sure about 1. and 2., but as for 3.:

To use AirPrint, you need one of the following devices running iOS 4.2 or later

(Emphasis mine — http://support.apple./kb/ht4356)

发布评论

评论列表(0)

  1. 暂无评论