I got "Fatal error: Call to undefined function printer_open() in C:\wamp\www\TEST\printer\index.php on line 3" when I run code below.

$printer = "\\\\lukaka\\hp LaserJet 1320"; 
if($ph = printer_open($printer)) 
   // Get file contents 
   $fh = fopen("testfile.txt", "rb"); 
   $content = fread($fh, filesize("testfile.txt")); 
   // Set print mode to RAW and send PDF to printer 
   printer_set_option($ph, PRINTER_MODE, "RAW"); 
   printer_write($ph, $content); 
else "Couldn't connect..."; 

I have added "extension=php_printer.dll" to php.ini and downloaded php_printer.dll file into "C:\wamp\bin\php\php5.3.0\ext" folder.

WhenI restart WAMP, it says "PHP startup: Unable to load dydnamic library 'c:.....php_printer.dll'...."

I use PHP 5.3.0

Thanks for help.

Thank you very much.