Add-TpmsClientInfo

53 views 0

Description

Adds properties of a native driver to an Output Gateway printer object.

The driver properties will be retrieved from the client machine using the ThinPrint Client when the Output Gateway printer is created by Tpms.Agent. For this purpose, make sure that the ThinPrint Client option Enable sending properties remains enabled.

Requirements

  • ThinPrint Engine
  • ThinPrint Clients

Syntax

Add-TpmsClientInfo -Printers <PSObject[]> -Name <string> -Port <uint32> -PrinterId <uint32> [-ClientId <uint32>] [-Usage <string>]
Parameter Description
-Printers Output Gateway printer the properties of native printer drivers (see Illus. 108) are to be assigned to

Formerly: -TpogPrinters (with installer version 1.0.44)

-Name computer on which the ThinPrint Client is installed
-Port TCP port to connect to the ThinPrint Client (see TCP port in Illus. 109 and 110)
-PrinterId ThinPrint Client’s printer ID (see ID column in Illus. 108)
-ClientId client machine’s ID used with Connection Service (see Client ID in Illus. 110)
-Usage1 PrinterProperties: retrieve properties of the native printer drivers from the Thin­Print Client

Address: write ThinPrint Client address and printer IDs into the Win­dows Registry – for each printer object2

Both: perform both PrinterProperties and Address (default: Both)

1 not yet with installer version 1.0.44

2 Otherwise the address information must be written to the printer name. On this, see Script containing New-TpmsObjVLay­erPair.

ThinPrint Client Manager: printers installed on the client computer with their IDs

ThinPrint Client Manager: Advanced tab

ThinPrint Client Manager: Connection Service tab

Example 1: cmdlet usage

Add-TpmsClientInfo -Printers ($printer) -Name ws3574 -Port 4000

Adds a ThinPrint Client to the $printer variable for retrieving the native driver properties.

On this, see also New-TpmsObjPrinterTpog.

Example 2: cmdlet usage

$printer = $printer | Add-TpmsClientInfo -Name ws3574 -Port 4000

Adds a ThinPrint Client to the $printer variable for retrieving the native driver properties.

On this, see also New-TpmsObjPrinterTpog.

Example 3: script

See Script containing New-TpmsObjPrinterTpog.

Previous Page
Next Page

Was this helpful?