Open navigation

Set-TPHubPrinter

Description

Syntax

Example



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>]
ParameterDescription
-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
-Idnew printer ID (optional)
-Driver• new name for the printer driver or printer model (optional)
• info field for Management Services
-Namenew printer name (optional); see Printer name
-Backendnew 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)
-TcpPortnew TCP port: e.g. 9101 for Standard TCP/IP (optional; only for backend type TCP)
-Queuenew LPD queue name (optional; only for backend type LPR)
-UsbPortnew 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)"

ThinPrint Hub's PowerShell cmdlet Set-TPHubPrinter

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

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




Did you find it helpful? Yes No

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