Jump to content

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/173166-solved-php_printerdll/
Share on other sites

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..??

 

 

  • 6 months later...

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

  • 1 month later...

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

  • 5 weeks later...

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 ] ]"

 

 

 

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.