php_printer.dll

Chances are it is installed, but not enabled.  Check C:\php\extensions (or
wherever you installed to) to see if it is there.  If it is then fire up
php.ini and uncomment the line that says:
extension=php_printer.dll

You'll probably need to specify your extensions directory by putting this
line:
extension_dir = C:\PHP\extensions
somewhere before the extension= lines.

Ross

-----Original Message-----
From: daniel cozzolino [mailto:[EMAIL PROTECTED]]
Sent: 07 December 2001 05:30
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] printing directly from php


Hi all,

I would like to print directly from php to the client default printer.  i
tried using the code example from php.net:

$handle = printer_open();
printer_write($handle, "Text to print");
printer_close($handle);
but get Fatal error: Call to undefined function: printer_open()
which leads me to believe i am missing a library file. ??
I am running IIS v5 on Win2000 with PHP v4.06
Thanks
Dan




--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to