PHP 5.2.5 Microsoft IIS 6.0 Windows Server 2003 R2
我刚刚在我的php.ini文件中启用了php_printer.dll,它可以从命令行正常工作。但是,在IIS上运行的脚本中运行相同的命令时,我会“调用未定义的函数printer_open() ...”。
$handle = printer_open("\\\\xxx.xxx.xxx.xxx\\Canon MF4320-4350"); echo "connected"; echo "not connected"; Fatal error: Call to undefined function printer_open() in C:\wamp\www\print\index.php on line