ronlowe Posted July 3, 2007 Share Posted July 3, 2007 I have set up Apache/PHP5/MySQL on my home computer running WindowsXP and have developed a package to deal with customer data and print labels. This all works fine on my home computer printing to an ordinary printer. I have set up the Apache/PHP4.4.2.7/MySQL on my business computer running Windows 98 and all aspects are fine until I try to print. I get a PHP error saying php_printer.dll not found. I have set the ini file with php_rinter.dll activated, I have tried various settings of the extension_dir and have put copies of php_printer.dll in all possible places. No joy. If I run PHP.exe the error message says "Unable to load dynamic library - one of the library files needed cannot be found. As far as I can see from the PHP manual, printer commands work from PHP 4. Any of you brainy folks got an answer? Quote Link to comment https://forums.phpfreaks.com/topic/58222-printer-problem/ Share on other sites More sharing options...
ronlowe Posted August 11, 2007 Author Share Posted August 11, 2007 The problem was solved by using printer_draw_text command. Works fine. Just in cae anyone else needs to know! The dll must be same version as rest of PHP and compatible with Windows version. Quote Link to comment https://forums.phpfreaks.com/topic/58222-printer-problem/#findComment-321244 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.