Open navigation

Get-TPHubFindPrinters

Description

Syntax

Example 1

Example 2



Description

Searches for printers in the Hub’s local subnet (see Find Printers tab)
To automatically add found printers to the printer list using Set-TPHubFindPrint­ersSettings, the Get-TPHubDiscoveredPrinter cmdlet has been replaced with Get-TPHubFindPrinters as of firmware version 1.4.18.


Syntax

Get-TPHubFindPrinters [-Search <string>] [-Index <int>] [-Count <int>] [-SortBy <string>] [-Ascend <bool>] [-ShowHidden <bool>] [-Proxy <string>]
ParameterDescription
-Search• optional: search filter
• corresponds to the function of the magnifier
-Index• optional: defines the page to be displayed when the number of search results is restricted by -Count
• 0 = first page (default), 1 = second page, 2 = third page etc.
-Count• optional: limits the number of search results to be displayed simultaneously
• in this case, -Index indicates the page to be displayed
-SortBy• optional: displays the printers sorted
• can be sorted according to: name (Name; default), manufacturer (Manufac­turer), printer model (Model), IP address (IP), hidden (Hide)
-Ascend• optional: defines the display order
• 1 or $true = ascending (default)
• 0 or $false = descending
-ShowHidden• optional: hidden marked printers shouldn’t be displayed
• 1 or $true = hidden printers are displayed (parameter HIDE = True)
• 0 or $false = hidden printers aren’t displayed (parameter HIDE = False; default)
-Proxy• optional (from firmware version 1.1): proxy server address
• can also be specified globally using Set-TPHubProxy


Example 1

Get-TPHubFindPrinters -SortBy Manufacturer -ShowHidden 1 -Search HP -Count 2 -Index 0

ThinPrint Hub's PowerShell cmdlet Get-TPHubFindPrinters

displaying all printers which names contain the string “HP”


Example 2

See example 3 of Add-TPHubPrinter.


Did you find it helpful? Yes No

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