Open navigation

Add-TPHubPrinter

Description

Syntax

Example 1

Example 2

Example 3



Description

Creates a new printer on the ThinPrint Client (see Printers)


Syntax

Add-TPHubPrinter -Name <string> -Backend Tcp|Lpr|Usb -UsbPort <string> -Computer <string> [-TcpPort <uint16>] -Queue <string> [-Id <uint16>] [-Driver <string>] [-Proxy <string>]
ParameterDescription
-Nameprinter name; see Printer Name
-Backendport or backend type; see Port
TCP Standard TCP/IP
LPR LPR/LPD
USB     the ThinPrint Hub‘s USB port
-UsbPortUSB printer (only with backend type USB)
-Computeraddress of the printer or the computer (only with backend type TCP or LPR)
-QueueLPD queue name (only with backend type LPR)
-ID• printer ID (optional)
• If this is not specified, the ThinPrint Client automatically assigns one.
-Driver• name of the printer driver or the printer model (optional)
• info field for Management Services
-Proxy• optional (from firmware version 1.1): proxy server address
• can also be specified globally using Set-TPHubProxy


Example 1

Add-TPHubPrinter -Name "Lexmark T650" -Backend Tcp -Computer "192.168.209.204"

ThinPrint Hub's PowerShell cmdlet Add-TPHubPrinter

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

ThinPrint Hub's PowerShell cmdlet Add-TPHubPrinter: corresponding web console


Example 2

Creates a new printer on the ThinPrint Client which was found automatically in the local subnet before (see Get-TPHubDiscoveredPrinter)

Get-TPHubPrinter 
$a = Get-TPHubDiscoveredPrinter -Search SCX 
$a
$a | Add-TPHubPrinter
Get-TPHubPrinter

ThinPrint Hub's PowerShell cmdlet Add-TPHubPrinter: Creates a new printer on the ThinPrint Client which was found automatically in the local subnet before using Get-TPHubDiscoveredPrinter


Example 3

Creates a new printer on the ThinPrint Client which was found automatically in the local subnet before (see Get-TPHubFindPrinters)

Get-TPHubPrinter 
$a = Get-TPHubFindPrinters -Search SCX 
$a
$a | Add-TPHubPrinter
Get-TPHubPrinter

ThinPrint Hub's PowerShell cmdlet Add-TPHubPrinter: Creates a new printer on the ThinPrint Client which was found automatically in the local subnet before using Get-TPHubFindPrinters


Did you find it helpful? Yes No

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