Description
Modifies an existing printer in the ThinPrint Client (see Printers)
Syntax
Set-TPHubPrinter -Printer <variable> -ById <uint16> -ByName <string> [-Id <uint16>] [-Driver <string>] [-Name <string>] [-Backend Tcp|Lpr|Usb] [-Computer <string>] [-TcpPort <uint16>] [-Queue <string>] [-UsbPort <string>] [-Proxy <string>]
Parameter | Description |
-Printer | • variable for an existing printer list • alternative to -ByID and -ByName • for its application, see Example 2 for Get-TPHubPrinter |
-ById | • ID of the printer whose properties are to be modified • alternative to -ByName and -Printer |
-ByName | • name of the printer whose properties are to be modified • alternative to -ById and -Printer |
-Id | new printer ID (optional) |
-Driver | • new name for the printer driver or printer model (optional) • info field for Management Services |
-Name | new printer name (optional); see Printer name |
-Backend | new printer port type (optional); see Port TCP Standard TCP/IP LPR LPR/LPD USB the ThinPrint Hub‘s USB port |
-Computer | • new address of the printer or the computer (optional; only for backend type TCP or LPR) |
-TcpPort | new TCP port: e.g. 9101 for Standard TCP/IP (optional; only for backend type TCP) |
-Queue | new LPD queue name (optional; only for backend type LPR) |
-UsbPort | new USB printer (optional; only for backend type USB) |
-Proxy | • optional (from firmware version 1.1): proxy server address • can also be specified globally using Set-TPHubProxy |
Example
Set-TPHubPrinter -ById 2 -Driver "Lexmark T650 (MS)"
The result in the web console is shown in the following screenshot.