Net\_EnumPrinterPaths
Description
Section titled “Description”Enumerates installed network printer paths
Syntax
Section titled “Syntax”Net_EnumPrinterPaths() As Boolean
Return value
Section titled “Return value”Result will be stored in gaValue
Example
Section titled “Example”VBScript
If bStatus Then bStatus = Net_EnumPrinterPaths()If bStatus And IsArray(gaValue) Then For index = LBound(gaValue) To UBound(gaValue) If bStatus Then bStatus = Job_WriteLog("Custom", "Index #" & index & ": " & gaValue(index), bStatus, True) NextEnd IfRelated functions
Section titled “Related functions”Net_AddPrinter Net_SetDefaultPrinter Net_DeletePrinter Net_EnumPrinters