port

Description

Returns a string string that identifies the port(s) used to transmit data to the printer. If a printer is connected to more than one port, the names of each port will be separated by commas (for example, “LPT1:,LPT2:,LPT3:”).

Windows 95/98/Me: This property can specify only one port as multiple ports per printer are not supported.

This is a read-only property.

Syntax

sPort = printerControl.port