Net_EnumPrinters
Description
Enumerates installed network printers
Â
Syntax
Net_EnumPrinters() As Boolean
Â
Return value
Result will be stored in gaValue
Â
Example
VBScript
If bStatus Then bStatus = Net_EnumPrinters() 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) Next End If
See Also
Net_AddPrinter Net_SetDefaultPrinter Net_DeletePrinter Net_EnumPrinterPaths