Bug #14301: printer_list don't lists the local not shared printers
| From: | joergklein at web dot de | Date: | Fri, 30 Nov 2001 18:15:11 +0000 |
| Subject: | Bug #14301: printer_list don't lists the local not shared printers | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-72157@lists.php.net to get a copy of this message | ||
From: joergklein@web.de
Operating system: WinXP ger
PHP version: 4.0.6
PHP Bug Type: Unknown/Other Function
Bug description: printer_list don't lists the local not shared printers
Hi
I tried out the printer_list funktion:
I am using WinXP Pro german not connected to a network
with 2 Printers installed locally not shared.
<?
var_dump( printer_list(PRINTER_ENUM_LOCAL) );
?>
When I use the enumtype PRINTER_ENUM_LOCAL the function don't return
anything, but when I share one printer the function lists this shared
printer, but I should list both printers when there are not shared.
With enumtype PRINTER_ENUM_LOCAL | PRINTER_ENUM_SHARED the function lists
correct only the shared local printers.
--
Edit bug report at: http://bugs.php.net/?id=14301&edit=1