简体   繁体   English

Android 4.4:如何获取所有已安装打印机的列表?

[英]Android 4.4: How to get a list of all installed printers?

How can I get the PrinterIds of all the installed printers using the Android 4.4 printing API? 如何使用Android 4.4打印API获取所有已安装打印机的PrinterIds? Those printers (only printer devices) that show up at the printing UI. 在打印UI上显示的那些打印机(仅打印机设备)。 What I'd like to do is to iterate through all available printers and output there capabilities. 我想做的是遍历所有可用的打印机并在其中输出功能。

您可以使用PrinterDiscoverySession类获取此信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在Android中找到所有可用的WiFi打印机的列表 - how find list of all available WiFi printers in android 是否有可能获得Android中的蓝牙打印机列表? - Is it possible to get list of Bluetooth printers in Android? 如何获取安装在Android设备中的所有用户CA证书的列表? - How to get list of all user CA certificates installed in an Android Device? 如何获取Android手机上安装的所有白日梦的列表 - How to get list of all daydreams installed on android phone 如何获取android中主屏幕Launcher中找到的所有已安装快捷方式的列表 - How to get the list of all installed shortcuts found in the homescreen Launcher in android 如何获取Android设备中所有已安装应用程序的apk列表 - How to get list of apk of all installed app in android device 在 android 中,如何获取所有已安装的外部 memory 的列表 - In android how can I get a list of all external memory installed Android获取所有已安装应用的列表 - Android get a list of all installed apps 如何获得,在我的应用程序中,打印机列表以前解决Android打印服务? - How to get, inside my app, a list of printers previously settle to android printing services? 如何在Android手机上安装所有应用程序 - How to get all apps installed on android phone
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM