Jezza22 Posted September 4, 2009 Share Posted September 4, 2009 Hi All, I am trying to get the php_printer.dll extension to work. I am running PHP 5.2.8 with Apache 2.2 on a windows XP platform. When I start Apache it fails to load the extension with the following error PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\PHP\\ext\\php_printer.dll' - The specified module could not be found.\r\n in Unknown on line 0 I have searched long and hard for a solution and have found lots of posts regarding this but nothing has worked so far. php.ini has "extension=php_printer.dll" and "extension_dir="C:\Program Files\PHP\ext" The file is located in the Extension folder and I downloaded the file from www.dlldll.com/php_printer.dll_download.html The file is 36Kb and dated 22.1.2004 Please help!! Thanks in advance, Jez Quote Link to comment Share on other sites More sharing options...
corbin Posted September 4, 2009 Share Posted September 4, 2009 "and dated 22.1.2004" That's probably your problem. Quote Link to comment Share on other sites More sharing options...
Jezza22 Posted September 5, 2009 Author Share Posted September 5, 2009 I totally agree, but please point me in the direction of version more up to date.. I have search long and hard only finding this version.. And I think that it is no longer supported into PHP version 5, http://us3.php.net/manual/en/printer.installation.php and http://pecl.php.net/package/printer So it looks like that it can not be done with a windows platform and PHP 5.. Which surprises me..?? Quote Link to comment Share on other sites More sharing options...
Jezza22 Posted September 5, 2009 Author Share Posted September 5, 2009 Ok I've found it!! http://us.php.net/get/pecl-5.2.6-Win32.zip/from/a/mirror This contains a version of php_printer.dll that loads the extension without any errors!! Hopefully someone else will find this usefull.. Jez Quote Link to comment Share on other sites More sharing options...
Aravind-India Posted March 9, 2010 Share Posted March 9, 2010 Hi.... I could not find the file php_printer.dll in the above given zip file link http://us.php.net/get/pecl-5.2.6-Win32.zip/from/a/mirror Please any body could help me... as I could not find right extension file php_printer.dll... So that I am unable execute any of the print functions..... I have tried out with www.dlldll.com/php_printer.dll_download.html but it is not working... Thanks & Regards, Aravind Quote Link to comment Share on other sites More sharing options...
sridharkalaibala Posted April 29, 2010 Share Posted April 29, 2010 Hi Aravind, You need to install the following combination's for better printing solution PHP 5.2.6 MySQL 5.0.45 Apache 2.2.9 thanks, sridhar www.pluskb.com Hi.... I could not find the file php_printer.dll in the above given zip file link http://us.php.net/get/pecl-5.2.6-Win32.zip/from/a/mirror Please any body could help me... as I could not find right extension file php_printer.dll... So that I am unable execute any of the print functions..... I have tried out with www.dlldll.com/php_printer.dll_download.html but it is not working... Thanks & Regards, Aravind Quote Link to comment Share on other sites More sharing options...
sridharkalaibala Posted May 29, 2010 Share Posted May 29, 2010 Hi Aravind, You need to install the following combination's for better printing solution PHP 5.2.6 MySQL 5.0.45 Apache 2.2.9 thanks, sridhar www.pluskb.com Hi.... I could not find the file php_printer.dll in the above given zip file link http://us.php.net/get/pecl-5.2.6-Win32.zip/from/a/mirror Please any body could help me... as I could not find right extension file php_printer.dll... So that I am unable execute any of the print functions..... I have tried out with www.dlldll.com/php_printer.dll_download.html but it is not working... Thanks & Regards, Aravind Hi...... You just download & install "WAMPSERVER" and download above quoted versions also. Now change the versions in wampserver. then add extension[php_printer.dll] in the PHP.ini. Thats all. restart wampserver. If not clear call me. +91 99 52 00 11 52 [india chennai airtel number ] Please tell your exact need...!!! Do you want print silently without dialog box...??? its difficult through php_printer.dll. instead of this you can try. first convert your html page to pdf. [ html2pdf opensource available ] then you can print your pdf file silently through php system command. "AcroRd32.exe /N /T PdfFile PrinterName [ PrinterDriver [ PrinterPort ] ]" Quote Link to comment 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.