Ok. I was thinking you was referring to a function somewhere that could read all the printers. My Bad.

All of the printers I am looking at are housed on one server. That is an important part that I forgot earlier. Sorry.

This is (psudocode), more like:
for each $printer on $server
If Print_priv($Printer)
$ret = addPrinterConnection($Printer)
EndIf
Next