You are here: PHP priner function question(printer connected, but did not print out) « PHP Programming Language « IT news, forums, messages
PHP priner function question(printer connected, but did not print out)

Posted by What What on 11/18/24 11:40

I'm trying to print a report to a printer directly using PHP printer
function.
I have code like the following one.
<?
if($handle=printer_open()){
print "Printer Connected<br>";
}
printer_write($handle, "Text to print");
printer_close($handle);
?>

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация