The original X problem is - window.print()
is not supported on Android mobile devices.
Looking for the alternatives Google cloud print was the option however, the
setPrintDocument("url", "[document title]", "[document URL]")
method expects a document URL not the document itself.If the document is passed as is, the CSS won't render.
Any alternatives for this scenario ?
Try using BLOB url. Example "blob: https://crap.crap ". I am not sure whether this will work or not.
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.