I'm using the printer_list(PRINTER_ENUM_REMOTE) it outputs the computer names that connects in the network and if I pass the parameter PRINTER_ENUM_LOCAL or PRINTER_ENUM_SHARED it outputs nothing but I have a printer installed in my PC. When I placed the var_dump(printer_list(PRINTER_ENUM_LOCAL | PRINTER_ENUM_SHARED)) it outputs Array(0) {}.
My questions are: 1)How can i get the shared printer name connecting in the network? 2)Why is it the PRINTER_ENUM_LOCAL or SHARED does not return any printer installed in my PC?
I'm using PHP 4.3.8, MS SQL Server, IIS, and Windows 2000 Server.
Bismuth