Set-TPHubFindPrintersSettings

65 views 0

Description

Enables the search for printers in the local subnet of the hub (see Find Printers tab) and the automatic addition of found printers to the printer list

To automatically add found printers to the printer list using Set-TPHubFindPrint­ersSettings, the Set-TPHubDiscoveredPrinter cmdlet has been replaced by Set-TPHubFindPrintersSettings since firmware version 1.4.18.

Syntax

Set-TPHubDiscoveredPrinter -IsActive <bool> [-IsAutoAddActive <bool>] [-Proxy <string>]
 Set-TPHubDiscoveredPrinter -Settings <FindPrintersSettingsModel> [-Proxy <string>]
Parameter Description
-IsActive • 1 or $true enables the network printer search option (default)
• 0 or $false disables the network printer search option
• corresponds to Checkbox Find Printers
-IsAutoAddActive • 1 or $true enables automatic addition of found printers to the printer list
• 0 or $false disables automatic addition of found printers to the printer list (default)
• corresponds to Checkbox Automatically add printers to the printer list
-Settings settings specified by a variable for -IsActive and -IsAutoAddActive
-Proxy • optional (from firmware version 1.1): proxy server address
• can also be specified globally using Set-TPHubProxy

Example

$a = Get-TPHubFindPrintersSettings
$a
$b = $True
$a.IsAutoAddActive = $b
Set-TPHubFindPrintersSettings -Settings $a or $a | Set-TPHubFindPrintersSettings
Get-TPHubFindPrintersSettings
 automatic addition of found printers to the printer list enabled

automatic addition of found printers to the printer list enabled

Previous Page
Next Page

Was this helpful?