TCPIP Printer Port

The Win32_TCPIPPrinterPort class has these properties.

ByteCount
Data type: boolean
Access type: Read-only

If TRUE, the computer counts the bytes in a document before sending them to the printer and the printer reports back the number of bytes actually read. This capability is used for diagnostics when missing bytes are detected in the print output.

Caption
Data type: string
Access type: Read-only

A short textual description of the object.

CreationClassName
Data type: string
Access type: Read-only

Name of the class or subclass used in the creation of an instance. When used with other key properties of the class, this property allows all instances of the class and its subclasses to be uniquely identified.

Description
Data type: string
Access type: Read-only

A textual description of the object.

HostAddress
Data type: string
Access type: Read-only

Address of the device or print server.

InstallDate
Data type: datetime
Access type: Read-only

Indicates when the object was installed. Lack of a value does not indicate that the object is not installed.

Name
Data type: string
Access type: Read-only

Uniquely identifies the service access point and provides an indication of the functionality that is managed. This functionality is described in more detail in the object's Description property.

PortNumber
Data type: uint32
Access type: Read-only

Number of the TCP ports used by the port monitor to communicate with the device.

Protocol
Data type: uint32
Access type: Read-only

Printing protocol used. Some printers support only LPR.

1

RAW

Printing directly to a device or print server.

2

LPR

Legacy protocol, which is eventually replaced by RAW.

Queue
Data type: string
Access type: Read-only

Name of the print queue on the server when used with the LPR protocol.

SNMPCommunity
Data type: string
Access type: Read-only

Security level value for the device.

Example: "public'"

SNMPDevIndex
Data type: uint32
Access type: Read-only

SNMP index number of this device for the SNMP agent.

SNMPEnabled
Data type: boolean
Access type: Read-only

Status
Data type: string
Access type: Read-only

String that indicates the current status of the object. Operational and non-operational status can be defined. Operational status can include "OK", "Degraded", and "Pred Fail". "Pred Fail" indicates that an element is functioning properly, but is predicting a failure (for example, a SMART-enabled hard disk drive).

Non-operational status can include "Error", "Starting", "Stopping", and "Service". "Service" can apply during disk mirror-resilvering, reloading a user permissions list, or other administrative work. Not all such work is online, but the managed element is neither "OK" nor in one of the other states.

Values include the following:

OK ("OK")

Error ("Error")

Degraded ("Degraded")

Unknown ("Unknown")

Pred Fail ("Pred Fail")

Starting ("Starting")

Stopping ("Stopping")

Service ("Service")

Stressed ("Stressed")

NonRecover ("NonRecover")

No Contact ("No Contact")

Lost Comm ("Lost Comm")

SystemCreationClassName
Data type: string
Access type: Read-only

The scoping system's creation class name.

SystemName
Data type: string
Access type: Read-only

The scoping system's name.

Type
Data type: uint32
Access type: Read-only

Type of SAP, such as attached or redirected.

Write (1)

Read (2)

Redirected (4)

Net_Attached (8)

unknown (16)