InstalledPrinters
返回一个字符串集合,包括所有已经安装的打印机的名称。
示例
在命令窗口执行下面的代码,可以列出所有已经安装的打印机名称:
For Each p As String in InstalledPrinters Output.Show(p) Next