php - installing php_printer on wamp server -
ive been googling around on how install php_printer.dll
wamp server, nothing came up. perhaps, know how install ext? basically, im trying use php printer
function , need extension heard. tried http://www.issociate.de/board/goto/751941/call_to_undefined_function_printer_open().html install on wamp server, still give me error in webpage? added extension: php_printer.dll
in php.ini
testing code: <?php $filename = "test page"; /////// ob_start(); include $filename; $contents = ob_get_contents(); ob_end_clean(); /////// $handle = printer_open("hp80aa62"); printer_set_option($handle, printer_mode, "raw"); printer_write($handle,$contents); printer_close($handle); ?>
although don't have experience installing/enabling extensions myself, has worked me in past:
- ensure
php_printer.dll
listed under "ext" directory inside of php installation. if isn't there, need download extension , save under "ext" directory. - add extension inside of php.ini.
- reboot server , try again.
hope helps,
spryno724
Comments
Post a Comment