Net\_DeletePrinter
Description
Section titled “Description”Removes a network printer from the local computer
Syntax
Section titled “Syntax”Net_DeletePrinter(sPrinterShare) As Boolean
Parameters
Section titled “Parameters”sPrinterShare (String)
UNC path to the network printer that must be removed
Example
Section titled “Example”VBScript
If bStatus Then bStatus = Net_DeletePrinter("\\CAPAINSTALLER\PRINTERSHARE")Related functions
Section titled “Related functions”Net_AddPrinter Net_SetDefaultPrinter Net_EnumPrinters Net_EnumPrinterPaths