窗口打印方法不适用于ipad chrome浏览器 [英] window print method is not working in ipad chrome browser

查看:542
本文介绍了窗口打印方法不适用于ipad chrome浏览器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有以下代码:

 < input type =buttonvalue =打印onclick =窗口.print(); return false;> 

它适用于所有浏览器,但它在ipad chrome浏览器中没有任何操作(不打开打印对话框) 。

我该如何解决这个问题?

然而,如果我使用chrome设置手动打印print,那么它的工作。

解决方案

关于SO显示的多个问题( 1 2 3 )由于苹果的政策使用其他浏览器引擎,目前无法在iOS版Chrome中进行打印。

另外一个解决方案是使用第三方打印服务: http://www.printfriendly.com


I have the following code:

<input type="button" value="Print" onclick="window.print(); return false;">

Which works in all browsers but it is doing nothing ( not opening print dialog box ) in ipad chrome browser.

How can I solve this problem?

However if I do manually print with chrome settings print then its working.

解决方案

Multiple questions on SO show (1, 2, 3) that it's currently not possible to print in Chrome for iOS due to Apple's policy on using alternative browser engines.

Another solution is to use a third-party printing service: http://www.printfriendly.com

这篇关于窗口打印方法不适用于ipad chrome浏览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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