Author Topic: Printer problem  (Read 323 times)

0 Members and 1 Guest are viewing this topic.

Offline ronloweTopic starter

  • Irregular
    • View Profile
Printer problem
« on: July 03, 2007, 09:08:49 AM »
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?

Offline ronloweTopic starter

  • Irregular
    • View Profile
Re: Printer problem
« Reply #1 on: August 11, 2007, 04:05:58 PM »
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.


PHP Freaks Forums

« on: »

Tired of these ads? Purchase a supporter subscription to get rid of them.