# Net_EnumPrinterPaths

> Enumerates installed network printer paths.

Source: https://docs.capaone.com/capainstaller/vb-scripting-library/network-functions/net-enumprinterpaths/  
Product: CapaInstaller — a separate CapaSystems product; do not apply this page to any other.

### Description

Enumerates installed network printer paths

### Syntax

Net_EnumPrinterPaths() As Boolean

### Return value

Result will be stored in gaValue

### Example

**VBScript**

```vb
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)
  Next
End If
```

[Scripting Guidelines](/capainstaller/vb-scripting-library/scripting-guidelines/)

### Related functions

[Net_AddPrinter](/capainstaller/vb-scripting-library/network-functions/net-addprinter/) [Net_SetDefaultPrinter](/capainstaller/vb-scripting-library/network-functions/net-setdefaultprinter/) [Net_DeletePrinter](/capainstaller/vb-scripting-library/network-functions/net-deleteprinter/) [Net_EnumPrinters](/capainstaller/vb-scripting-library/network-functions/net-enumprinters/) [Constants](/capainstaller/vb-scripting-library/addendum/constants/) [Package Property](/capainstaller/vb-scripting-library/addendum/package-property/) [Variables](/capainstaller/vb-scripting-library/addendum/variables/)
