简体   繁体   中英

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??

window.print() does trigger the printing dialog in most browsers. Not sure if this works from inside a webview though.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM