I'm trying to be able to get to print to a windows printer from a PHP script. I am currently running PHP5 on apache on XP. Everytime I try to setup a script I keep getting error messages like:

Fatal error: Call to undefined function printer_open() in D:\Program Files\Apache Group\Apache2\htdocs\oc\complete_order.php on line 135

I am trying to use the printer_open function but it doesn't seem to want to work.
$print_hp = printer_open("HP1");

I then downloaded a file php_printer.dll file and put it in the same directory as specified on my extention_dir (d:/php/) as well as added the line:
extension=php_printer.dll

After restarting apache service, and trying again I get a popup warning stating:
WARNING: PHP Startup: Unable to load dynamic library 'D:/php/php_printer.dll' - The specified procedure could not be found


I am at a loss? -- Anyone have any wonderful ideas to help, or anyone have any other brilliant ways to print to a server based printer (not local printer).


THANKS!!!
PEBKAC