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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Fri May 03 21:01:32 2024 UTC