Net_SetDefaultPrinter
Description
Section titled “Description”Sets an installed printer as the default printer
Syntax
Section titled “Syntax”Net_SetDefaultPrinter(sPrinterShare) As Boolean
Parameters
Section titled “Parameters”sPrinterShare (String)
Section titled “sPrinterShare (String)”UNC path to the network printer
Example
Section titled “Example”If bStatus Then bStatus = Net_SetDefaultPrinter("\\CAPAINSTALLER\PRINTERSHARE")Related functions
Section titled “Related functions”Net_AddPrinter Net_DeletePrinter Net_EnumPrinters Net_EnumPrinterPaths Constants Package Property Variables