[英]Printing from Web-based App in android studio?
I've put my web-based application to a WebView in android studio but it does not trigger the printing action from the web and show printing pop up window to print the invoice that I want to print, is there any way to automatically trigger the print action button from the web?? I've put my web-based application to a WebView in android studio but it does not trigger the printing action from the web and show printing pop up window to print the invoice that I want to print, is there any way to automatically trigger the web 的打印操作按钮?
window.print()
does trigger the printing dialog in most browsers. window.print()
在大多数浏览器中都会触发打印对话框。 Not sure if this works from inside a webview though.不过,不确定这是否适用于 webview 内部。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.