Freigeben über


3.1.4.6 Port Management Methods

This section specifies methods for discovering and communicating with printer ports.

Method

Description

RpcEnumPorts

RpcEnumPorts enumerates the ports that are available for printing on a specified server.

RpcDeletePort

Removes a port added by the RpcAddPortEx method (section 3.1.4.6.3).

RpcAddPortEx

RpcAddPortEx adds a port name to the list of supported ports.

RpcSetPort

RpcSetPort sets the status associated with a printer port.

RpcXcvData

RpcXcvData provides an extensible mechanism by which a client can control ports on the server and exchange port-specific commands and data with the server. For more information about language monitor methods, see section 3.1.4.11.