本文介绍了枚举群集打印机。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想枚举位于群集主动节点上的打印群集中的打印机。以下链接提供了一些帮助,它可以工作:



[]



但问题是我需要获得详细信息(端口信息,属性等),我可以使用级别2的EnumPrinters()获得。我无法在集群中成功调用级别为2的EnumPrinters()有各种标志和参数组合的环境。



有没有办法用EnumPrinters()或其他方法做到这一点?

解决方案

I want to Enumerate the printers present in a print cluster sitting on the active node of the cluster. The following link offers some help and it works:

http://microsoft.public.windows.server.clustering.narkive.com/bfPpwkU2/enumerating-cluster-printers[^]

But the problem is I need to have detailed information (port info , attributes etc.) which I can get using EnumPrinters() with level 2. I have not been able to successfully call EnumPrinters() with level 2 in a cluster environment with various combination of flags and parameters.

Is there a way to do this using EnumPrinters() or otherwise?

解决方案


这篇关于枚举群集打印机。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-25 06:05