问题
My web app creates a print dialogue on desktop and I am trying to see if there is away to do something similar via the mobile chrome browser. Any advice on how to achieve this would be greatly appreciated. Thanks
回答1:
The Android Printing API was added in Android 4.4 (KitKat) and supports printing to Google Cloud Print enabled printers out of the box (along with HP printers via the HP Print Service app) - Chrome for Android has an option for printing the current web page from the overflow menu.
If the printer you are using is not supported, then you should urge the manufacturer (or an intrepid developer familiar with Bluetooth development and printer protocols) to create a plugin app and use the android.printservice API to add support for the printers.
来源:https://stackoverflow.com/questions/26007094/on-android-what-is-the-easiest-way-to-print-from-chrome-browser-to-a-bluetooth