I am trying to connect to my printer which is on another machine through this code
$handle = printer_open("\\xxx.xxx.xxx.xxx\Canon MF4320-4350");
if($handle)
echo "connected";
else
echo "not connected";
and getting the error
Fatal error: Call to undefined function printer_open() in C:wampwwwprintindex.php on line 3
I have installed the php_printer.dll but it is not showing it under phpinfo()
. Using PHP version 5.3.0
how can i connect to the printer and make my printer_open()
method work??
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…