Thanks Philip for the quick response!
You're right, since my original post I found that it will return NULL or
FALSE under different conditions. If the printer doesn't exist I get FALSE.
I'm getting NULL for a valid printer that is for some reason refusing the
connection.
So I guess it is a bug,
Hello!
I don't really have an answer except that according to the
source here:
http://lxr.php.net/source/pecl/printer/printer.c#256
It can return false but also has a chance to return nothing
which doesn't seem like a good idea. That is, if the
following condition fails nothing happens:
if (D
Hi
I'm not sure if this is a documentation error or a bug in php_printer.dll
but here goes...
printer_open() is returning NULL upon failure, not FALSE i.e. the following
code doesn't work:
This does:
Version info:
PHP 4.3.10 (cli) (built: Dec 14 2004 17:48:04)
php_printer.dll 29-Ma