(dict,...) = EnumPorts(Name, Level
)
Lists printer port on a server
Parameters
Name : str/PyUnicode
Name of server, use None for local machineLevel : int
Level of information to return, 1 and 2 supportedReturn Value
Returns a sequence of dicts representing PORT_INFO_* structures depending on level