By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,044 Members | 1,288 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,044 IT Pros & Developers. It's quick & easy.

PHP priner function question(printer connected, but did not print out)

P: n/a
I'm trying to print a report to a printer directly using PHP printer
I have code like the following one.
print "Printer Connected<br>";
printer_write($handle, "Text to print");

I put the php_printer.dll into the extension folder and added the
printer extension line into the php.ini.

When I tested this code on a server with PHP Version 4.3.9, it worked
fine. When I moved the code to a server with PHP 5.1.1, the printer was
connected, but nothing printed out. I downloaded the php_printer.dll
for version 5.1.1 but nothing improved.

Does any one have adea about this problem? Thanks

Feb 20 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.