Set-TPHubDefaultPrinter

73 views 0

Description

Sets the default (or the current) printer of the ThinPrint Client (see Printers)

Syntax

Set-TPHubDefaultPrinter -Id <uint16> -Name <string> -Printer <variable>[-Proxy <string>]
Parameter Description
-ID printer with this ID will be the current printer (alternative to -Name and -Printer)
-Name printer with this name will be the current printer (alternative to -Id and -Printer)
-Printer the current printer is defined by a variable (alternative to -Id and -Name)
-Proxy • optional (from firmware version 1.1): proxy server address
• can also be specified globally using Set-TPHubProxy

Example 1

Set-TPHubDefaultPrinter -Id 2
Get-TPHubDefaultPrinter
the printer with ID 2 is now the current printer

the printer with ID 2 is now the current printer

Example 2

Get-TPHubDefaultPrinter
$a = Get-TPHubPrinter -Id 1
Set-TPHubDefaultPrinter -Printer $a or $a | Set-TPHubDefaultPrinter
Get-TPHubDefaultPrinter
 the current printer is now back to that with ID 1

the current printer is now back to that with ID 1

Previous Page
Next Page

Was this helpful?