I'm using php_printer.dll to develop intranet application which can print documents using printers shared in the network.
So to get all the printers attached in the network.I used.
but it does not return any printers.But if I usea) print_r(printer_list(PRINTER_ENUM_LOCAL | PRINTER_ENUM_SHARED));
it gives printers shared in the network.b) print_r(printer_list(PRINTER_ENUM_LOCAL));
Upto I know.. Code a) is the right way to do it.
Please help me to understand it.
looking forward for the solution..