php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14301 printer_list don't lists the local not shared printers
Submitted: 2001-11-30 13:15 UTC Modified: 2002-06-01 12:58 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: joergklein at web dot de Assigned:
Status: Closed Package: Unknown/Other Function
PHP Version: 4.0.6 OS: WinXP ger
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: joergklein at web dot de
New email:
PHP Version: OS:

 

 [2001-11-30 13:15 UTC] joergklein at web dot de
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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-01 12:58 UTC] edink@php.net
Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at 
http://www.php.net/downloads.php


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 13 12:01:27 2025 UTC