FW: [PHP-WIN] Trouble with "printer_list"
| From: | Rich Gray | Date: | Fri, 30 Aug 2002 16:21:27 +0000 |
| Subject: | FW: [PHP-WIN] Trouble with "printer_list" | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-15605@lists.php.net to get a copy of this message | ||
Luis
Is there a php_printer.dll in the extensions subdirectory to your PHP
installation? Some zipfile distributions of PHP omitted this library...
If no then try downloading the latest zip and installing the missing .dll
and re-enabling the extension in your php.ini file or use dl() to load it.
Cheers
Rich
-----Original Message-----
From: Luis Moreira [mailto:lamoreira@bes.pt]
Sent: 30 August 2002 16:41
To: Rich Gray
Subject: Re: [PHP-WIN] Trouble with "printer_list"
Hi Rich
Using just this
<?php
var_dump( printer_list(PRINTER_ENUM_LOCAL | PRINTER_ENUM_SHARED) );
?>
I get "Fatal error: Call to undefined function: printer_list() in
c:\myweb\printers.php on line 3"
Taking out the comment in "extension=php_printer.dll" I get
"Unable to load dynamic library '.php_printer.dll' - The specified module
could not be found
As to the OS, I am running Windows 2000
Thanks
----- Original Message -----
From: "Rich Gray" <richardgray@onetel.co.uk>
To: <php-windows@lists.php.net>
Sent: Friday, August 30, 2002 3:48 PM
Subject: RE: [PHP-WIN] Trouble with "printer_list"
> hi Luis
>
> Can you post the code you used.... e.g.
printer_list(PRINTER_ENUM_LOCAL);
> What was the different error message you received when you uncommented the
> extension=...
> What OS are you running? XP? FYI There is an open bug for php v4.2.1/XP
for
> this function #18408
>
> Rich
> -----Original Message-----
> From: Luis Moreira [mailto:lamoreira@bes.pt]
> Sent: 30 August 2002 14:49
> To: php-windows@lists.php.net
> Subject: [PHP-WIN] Trouble with "printer_list"
>
>
> Hi
>
> I just entered this list, and would like to ask this :
>
> When trying to use the array PRINTER_LIST, I keep getting "undefined
> function".
>
> Does "c:\winnt\php.ini" need to be changed ?
> Un-commenting he line with "extension=php_printer.dll" gives a
different
> error...
>
> Thanks
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>