Hi guys,

I'm trying to setup a wamp server - running php 5.4.12 (windows 7) - When I get an email - I'm trying to make the server print a physical message on my network printer.

After lots of reading - it looks like I need to use "php_printer.dll" - I've tried installing it - I copied the dll to the php ext folder, and added the extension=php_printer.dll in the php.ini file.

WAMP sees that I've installed it (it's got a little tick next to it).

But when I try and run some code - I just get an error: Fatal error: Call to undefined function printer_open() in C:\wamp\www\test.php on line 3

I'm using a version (PHP Version 5.4.7 php_printer.dll) I found on stackoverflow - I know this is 5.4.7 - and I'm on 5.4.12 -- but they should be the same shouldn't they?

I've search all over for a newer version - but no luck.

Can someone help me either get my php_printer.dll working -- or help with another way of printing from php on windows?

Thanks again for reading and the help!

    Does a [man]phpinfo/man page show any reference to this "printer" extension? (I have no idea what to look for exactly since you haven't explained where this extension came from.) Otherwise, you don't really know if it's actually installed correctly.

    EDIT: Are you referring to the PECL::printer extension on which the [man]printer[/man] section of the PHP manual is based?

      Thanks for the help bradgrafelman.

      Yes - that's the extension:

      bradgrafelman;11037345 wrote:

      Does a [man]phpinfo[/man] Are you referring to the PECL::printer extension on which the [man]printer[/man] section of the PHP manual is based?

        Well, the latest version of the DLL (5.4.19) is available from PECL, if that helps.

          Write a Reply...