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>]
Parameter | Description |
-Name | printer name; see Printer Name |
-Backend | port or backend type; see Port TCP Standard TCP/IP LPR LPR/LPD USB the ThinPrint Hub‘s USB port |
-UsbPort | USB printer (only with backend type USB) |
-Computer | address of the printer or the computer (only with backend type TCP or LPR) |
-Queue | LPD 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"
The result in the web console is shown in the following screenshot.
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
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