Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Removes a network printer from the local computer

 


Syntax

Net_DeletePrinter(sPrinterShare) As Boolean 


Parameters

sPrinterShare (String)

UNC path to the network printer that must be removed


Example

Code Block
language
languagevb
themeEclipse
vbtitleVBScript
If bStatus Then bStatus = Net_DeletePrinter("\\CAPAINSTALLER\PRINTERSHARE")

Scripting Guidelines 


Related functions

Net_AddPrinter Net_SetDefaultPrinter Net_EnumPrinters Net_EnumPrinterPaths