/
Net_SetDefaultPrinter
Net_SetDefaultPrinter
Description
Sets an installed printer as the default printer
Syntax
Net_SetDefaultPrinter(sPrinterShare) As Boolean
Parameters
sPrinterShare (String)
UNC path to the network printer
Example
VBScript
If bStatus Then bStatus = Net_SetDefaultPrinter("\\CAPAINSTALLER\PRINTERSHARE")
Related functions
Net_AddPrinter Net_DeletePrinter Net_EnumPrinters Net_EnumPrinterPaths
, multiple selections available,
Related content
Net_Ping
More like this
CMS_AddComputerToStaticGroup
CMS_AddComputerToStaticGroup
More like this
$cs.Reg_SetDword
$cs.Reg_SetDword
More like this
$cs.Reg_SetInteger
$cs.Reg_SetInteger
More like this
$cs.Reg_SetQword
$cs.Reg_SetQword
More like this
Log_RegisterWellKnownFiles
Log_RegisterWellKnownFiles
More like this