Open navigation

New-TpmsObjTpClient

Description

Requirements

Syntax

Example 1: cmdlet usage

Example 2: cmdlet usage

Example 3: script



Description

Defines an address of a server, workstation or device on which a ThinPrint Client or the Connection Service runs.


Requirements

  • ThinPrint Client

and/or

  • Connection Service


Syntax

New-TpmsObjTpClient -Name <string> -Port <uint32> [-Uidx <uint32>] 
ParameterDescription
-NameThinPrint Client address or Connection Service address
-PortTCP port to connect to the ThinPrint Client or to the Connection Service (default: 4000)
-UidxClient ID (of the ThinPrint Client) to connect to the Connection Service


Example 1: cmdlet usage

The following example shows how to define a ThinPrint Client machine – here: ws3574 – to retrieve its printer information with the ThinPrint TCP/IP protocol.

New-TpmsObjTpClient -Name ws3574 -Port 4000


Example 2: cmdlet usage

The following example shows how to define the ThinPrint Client to retrieve its printer information with the Connection Service protocol. The Client ID must be set in the ThinPrint Client and will be sent by Tpms.Agent to the Connection Service to retrieve printer information of the relevant ThinPrint Client.

The IP address of the Connection Service is 192.168.149.21, and the ID of the ThinPrint Client is 88.

New-TpmsObjTpClient -Name "192.168.149.21" -Port 4000 -Uidx 88

Connection Service’s client ID in the ThinPrint Client Manager

Connection Service’s client ID in the ThinPrint Client Manager, here: 88

client IDs in the Connection Service console

client IDs in the Connection Service console


Example 3: script

See Start-TpmsQueryByAgent.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.