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:

  1. ensure php_printer.dll listed under "ext" directory inside of php installation. if isn't there, need download extension , save under "ext" directory.
  2. add extension inside of php.ini.
  3. reboot server , try again.

hope helps,
spryno724


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -