Set-TPHubThinPrintConSvcConfig

125 views 0

Description

Modifies the ThinPrint Client Connection Service configuration (see ThinPrint)

Syntax

Set-TPHubThinPrintConSvcConfig -Config <variable> [-Proxy <string>]
Parameter Description
-IsActive 1 = Connection Service enabled (displayed as True)
0 = Connection Service disabled (displayed as False)
-Address the address of the server on which the Connection Service runs
-Port TCP port, over which the ThinPrint Client connects with the Connection Service; default: 4001
-ClientId the device’s identification number, for logging on to the Connection Service
-AuthKey authentication key for logging on to the Connection Service
-Config Connection Service configuration defined through variable
-Proxy • optional (from firmware version 1.1): proxy server address
• can also be specified globally using Set-TPHubProxy

Example 1

The following example sets the Connection Service values Client ID = 443 and Authentication Key = 43:

$a = Get-TPHubThinPrintConSvcConfig
$a
$c = 443
$d = 43
$a.ClientId = $c
$a.AuthKey = $d
Set-TPHubThinPrintConSvcConfig -Config $a or $a | Set-TPHubThinPrintConSvcConfig
Get-TPHubThinPrintConSvcConfig

modifying the ThinPrint Client Connection Service configuration

The result in the web console is displayed in the following screenshot.

modified ThinPrint Client Connection Service configuration

Example 2

The following example disables the Connection Service option and then enables it directly. Here, the current state is monitored each with Get-TPHubThinPrintConSvc­Config.

$a = Get-TPHubThinPrintConSvcConfig
$a
$b = 0
$a.IsActive = $b
Set-TPHubThinPrintConSvcConfig -Config $a
$a = Get-TPHubThinPrintConSvcConfig
$a
$b = 1
$a.IsActive = $b
Set-TPHubThinPrintConSvcConfig -Config $a
$a = Get-TPHubThinPrintConSvcConfig
$a

 disabling the Connection Service option and then enabling it directly

Previous Page
Next Page

Was this helpful?