Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does window.print() work in all versions of Safari on iPad?

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.

like image 387
copenndthagen Avatar asked Apr 29 '11 18:04

copenndthagen


People also ask

Can you print from Safari on iPad?

Use AirPrint to print wirelessly to an AirPrint-enabled printer from apps such as Mail, Photos, and Safari. Many apps available on the App Store also support AirPrint. iPad and the printer must be on the same Wi-Fi network.

Does window print work on mobile?

It is clearly stated in this Documentation, "The command is supported on iOS, Chrome on Windows and Safari and Chrome on Mac. It is not supported on Android." Android phones don't have native support for printing yet, so window. print() will not work.


1 Answers

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.com/kb/ht4356)

like image 133
Paul D. Waite Avatar answered Oct 09 '22 02:10

Paul D. Waite